/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 科技蓝色主题配色 */
:root {
    --primary-blue: #295DFC;      /* 主色调 */
    --secondary-blue: #295DFC;    /* 中科技蓝 */
    --accent-blue: #295DFC;       /* 浅科技蓝 */
    --light-blue: #dbeafe;        /* 极浅蓝 */
    --dark-blue: #1e40af;         /* 深蓝 */
    --gradient-primary: linear-gradient(45deg, #295DFC, #295DFC);
    --gradient-secondary: linear-gradient(45deg, #295DFC, #295DFC);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 通用样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

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

.btn-outline:hover {
    background: white;
    color: #295DFC;
    transform: translateY(-2px);
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #295DFC 0%, #295DFC 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 头部导航 - DeepWiki风格 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(24px);
}

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

/* 为固定header添加页面内容顶部间距 */
body {
    padding-top: 80px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo img {
    height: 42px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    display: none;
    background: linear-gradient(135deg, #295DFC, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #295DFC;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #295DFC;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 8px 0;
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    border-radius: 8px;
    margin: 0 8px;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #295DFC;
    transform: translateX(4px);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #295DFC;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.dropdown-menu a:hover::before {
    height: 20px;
}

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #475569;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

/* Hero区域 - DeepWiki风格 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    color: #1e293b;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(41, 93, 252, 0.1);
    border: 1px solid rgba(41, 93, 252, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #295DFC;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: #295DFC;
    border: 1px solid #295DFC;
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(41, 93, 252, 0.3);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 1px solid rgba(71, 85, 105, 0.3);
    color: #475569;
}

.hero-buttons .btn-outline:hover {
    background: rgba(71, 85, 105, 0.1);
    border-color: rgba(71, 85, 105, 0.5);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #64748b;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.workflow-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
}

.workflow-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.workflow-diagram {
    margin-bottom: 1.5rem;
}

.workflow-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #1e293b;
    text-align: center;
    min-width: 100px;
}

.step-arrow {
    color: #295DFC;
    font-weight: bold;
    font-size: 1.2rem;
}

.workflow-vertical {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.step-arrow-down {
    color: #295DFC;
    font-weight: bold;
    font-size: 1.2rem;
}

.workflow-note {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    font-style: italic;
}

/* Swiper样式 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: white;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

/* 产品服务区域 */
.products-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.product-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link {
    color: #295DFC;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #2980b9;
    transform: translateX(5px);
}

/* 技术服务区域 */
.services-section {
    padding: 6rem 0;
    background: white;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 成功案例区域 */
.cases-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.case-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 关于我们区域 */
.about-section {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #295DFC;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 联系我们区域 */
.contact-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info .contact-item i {
    width: 24px;
    height: 24px;
    color: #295DFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info .contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-info .contact-item p {
    color: #7f8c8d;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #295DFC;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 底部 */
.footer {
    background: #f8fafc;
    color: #0853cc;
    padding: 2rem 0 1rem;
    border-top: 1px solid #e2e8f0;

	.copy-right {
		max-width: 1200px;
		display: flex;
		justify-content: center;
		line-height: 40px;
		border-top: 1px solid #e2e8f0;
		padding: 10px 0 10px 0;
		text-align: center;
	}
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.footer-section p {
    color: #64748b;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #295DFC;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #295DFC;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* 联系图标样式 */
.contact-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icons .contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.contact-icons .contact-item:hover {
    color: #295DFC;
    transform: translateY(-2px);
}

.contact-icons .contact-item i {
    transition: transform 0.3s ease;
}

.contact-icons .contact-item:hover i {
    transform: scale(1.1);
}

/* 联系工具提示样式 */
.contact-icons .contact-tooltip {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 200px;
    border: 1px solid #e0e0e0;
}

.contact-icons .contact-item:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(calc(100% + 10px));
}

.contact-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.contact-icons .tooltip-content {
    padding: 15px;
    text-align: center;
}

.contact-icons .tooltip-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.contact-icons .tooltip-content p {
    margin: 4px 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.contact-icons .qr-code {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.contact-icons .qr-code img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* 移动端菜单切换按钮 */

.mobile-menu-toggle.active i {
    color: #295DFC !important;
    transform: rotate(180deg);
}

/* 移动端菜单样式 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
    right: 0;
}

/* 确保移动端菜单内容可见 */
.mobile-menu.active .mobile-menu-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 200px !important;
}

.mobile-menu.active .mobile-menu-list {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 200px !important;
}

.mobile-menu.active .mobile-menu-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 50px !important;
}

.mobile-menu.active .mobile-menu-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 50px !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    height: 70px;
    box-sizing: border-box;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    position: relative;
}

.mobile-menu-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(41, 93, 252, 0.3) 50%, transparent 100%);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    font-size: 1.2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.mobile-menu-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.mobile-menu-nav {
    padding: 24px 0;
    height: calc(100vh - 70px);
    overflow-y: auto;
    background: transparent;
    position: relative;
}

.mobile-menu-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.mobile-menu-nav::-webkit-scrollbar-thumb {
    background: rgba(41, 93, 252, 0.3);
    border-radius: 2px;
}

.mobile-menu-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 93, 252, 0.5);
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 100%;
    overflow-y: auto;
}

.mobile-menu-item {
    margin: 0;
    border-radius: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto;
    min-height: 56px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    backdrop-filter: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

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

.mobile-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #295DFC, #1e40af);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.mobile-menu-item:hover::before {
    transform: scaleY(1);
}

.mobile-menu-item:hover {
    background: rgba(41, 93, 252, 0.05);
    transform: translateX(4px);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    height: auto;
    min-height: 56px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.mobile-menu-link i {
    font-size: 0.9rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

/* 有子菜单的主菜单项样式 */
.mobile-menu-dropdown .mobile-menu-link {
    background: rgba(240, 249, 255, 0.1);
    border: none;
}

.mobile-menu-dropdown .mobile-menu-link i {
    color: #295DFC;
    font-size: 0.8rem;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: #295DFC;
    transform: translateX(2px);
}

.mobile-menu-link:hover i,
.mobile-menu-link.active i {
    color: #295DFC;
    transform: rotate(180deg);
}

.mobile-menu-dropdown {
    position: relative;
}

.mobile-menu-submenu {
    list-style: none;
    margin: 0;
    padding: 8px 0 0 0;
    background: transparent;
    max-height: 500px;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 12px 12px;
}

.mobile-menu-submenu.active {
    max-height: 500px;
}

.mobile-menu-submenu .mobile-menu-item {
    margin: 0;
    min-height: 44px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.mobile-menu-submenu .mobile-menu-link {
    padding: 12px 20px 12px 32px;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    min-height: 44px;
    position: relative;
}

.mobile-menu-submenu .mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #9ca3af;
    border-radius: 50%;
}

.mobile-menu-submenu .mobile-menu-link:hover {
    color: #295DFC;
    background: rgba(41, 93, 252, 0.05);
}

.mobile-menu-submenu .mobile-menu-link:hover::before {
    background: #295DFC;
}

/* 当移动菜单打开时防止背景滚动 */
body.mobile-menu-open {
    overflow: hidden;
}

/* 确保移动端菜单按钮在所有移动设备上显示 */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* 平板设备 */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu {
        z-index: 9999 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 9998 !important;
    }
}

/* 小屏幕设备 */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10000 !important;
    }
    
    .mobile-menu {
        z-index: 9999 !important;
        width: 100vw !important;
        right: -100vw !important;
    }
    
    .mobile-menu.active {
        right: 0 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 9998 !important;
    }
}

/* 超小屏幕设备 */
@media (max-width: 480px) {
    .mobile-menu {
        width: 100vw !important;
    }
    
    .mobile-menu-header {
        height: 60px !important;
        padding: 15px 20px !important;
    }
    
    .mobile-menu-nav {
        height: calc(100vh - 60px) !important;
    }
}

/* 移动设备专用 - 确保在移动端模式下正确显示 */
@media (max-width: 768px) and (orientation: portrait) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10000 !important;
    }
    
    .mobile-menu {
        z-index: 9999 !important;
        width: 100vw !important;
        right: -100vw !important;
    }
    
    .mobile-menu.active {
        right: 0 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 9998 !important;
    }
    
    .mobile-menu-nav {
        height: calc(100vh - 70px) !important;
    }
}

/* 移动设备横屏模式 */
@media (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu {
        width: 320px !important;
        z-index: 9999 !important;
    }
}

/* 触摸设备检测 - 确保在移动设备上正确显示 */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10000 !important;
    }
    
    .mobile-menu {
        z-index: 9999 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 9998 !important;
    }
    
    /* 在触摸设备上，菜单占据全屏 */
    @media (max-width: 768px) {
        .mobile-menu {
            width: 100vw !important;
            right: -100vw !important;
        }
        
        .mobile-menu.active {
            right: 0 !important;
        }
    }
}

/* 强制显示移动端菜单按钮 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        min-width: 40px !important;
        min-height: 40px !important;
        justify-content: center !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }
    
    .mobile-menu-toggle i {
        color: #374151 !important;
        font-size: 20px !important;
        transition: all 0.3s ease !important;
    }
    
    /* 移动端菜单高度优化 - 现在在header外面，可以占据全屏 */
    .mobile-menu {
        height: 100vh !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
    
    .mobile-menu-nav {
        height: calc(100vh - 60px) !important;
        background: white !important;
        margin-top: 0 !important;
    }
    
    .mobile-menu-list {
        height: 100% !important;
        background: white !important;
    }
    
    .mobile-menu-item {
        background: white !important;
        min-height: 50px !important;
    }
    
    .mobile-menu-link {
        background: white !important;
        min-height: 50px !important;
    }
    
    /* 移动端菜单现在在header外面，可以正常显示 */
    .mobile-menu.active .mobile-menu-nav {
        height: calc(100vh - 70px) !important;
    }
    
    .mobile-menu.active .mobile-menu-list {
        height: 100% !important;
    }
    
    .mobile-menu.active .mobile-menu-item {
        min-height: 50px !important;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        gap: 2.5rem;
    }
    
    .contact-content {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.8rem 0;
        position: relative;
        height: auto;
        min-height: 60px;
    }
    
    /* 移动端body顶部间距调整 */
    body {
        padding-top: 70px;
    }
    
    .header-left {
        gap: 0.5rem;
        flex: 1;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo-text {
        display: block;
        font-size: 1.2rem;
    }
    
    .nav {
        display: none;
    }
    
    .header-right {
        gap: 0.5rem;
        align-items: center;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 1000;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list .nav-link {
        padding: 0.75rem;
        border-radius: 8px;
        background: #f8fafc;
    }
    
    .contact-icons {
        gap: 0.5rem;
    }
    
    .contact-icons .contact-item {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .contact-icons .contact-tooltip {
        min-width: 180px;
    }
    
    .contact-icons .qr-code img {
        width: 100px;
        height: 100px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 10000;
        margin-left: 10px;
        padding: 8px;
        border-radius: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle i {
        color: #374151 !important;
        font-size: 20px !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(41, 93, 252, 0.1);
        transform: scale(1.05);
    }
    
    .mobile-menu-toggle:hover i {
        color: #295DFC !important;
    }
    
    /* Mobile menu is open: hide desktop nav completely */
    .mobile-menu-open .nav {
        display: none !important;
    }
    
    /* Ensure header elements are properly positioned without affecting large screens */
    .mobile-menu-open .header {
        overflow: hidden;
    }
    
    /* On mobile devices when menu is open, ensure header elements don't interfere */
    .mobile-menu-open .header-right > :not(.mobile-menu-toggle):not(.mobile-menu-overlay) {
        opacity: 0.3;
        pointer-events: none;
    }
    
    /* Ensure large screen layout is not affected by mobile menu states */
    /* Removed invalid nested @media (min-width: 769px) as it contained no active rules */
    
    .hero-section {
        min-height: 100vh;
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: none;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .workflow-card {
        max-width: none;
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .products-grid,
    .services-grid,
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid,
    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        display: inline-block;
        text-align: left; /* Keep left alignment for proper list display */
        padding-left: 0;
    }
    
    .footer-section ul li {
        text-align: left; /* Ensure list items are left-aligned */
    }
    
    .workflow-diagram {
        transform: scale(0.9);
        transform-origin: center;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .workflow-vertical {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 0.6rem 0;
    }
    
    /* 超小屏幕body顶部间距调整 */
    body {
        padding-top: 60px;
    }
    
    .logo img {
        height: 28px;
        margin-right: 5px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .contact-icons {
        gap: 0.3rem;
    }
    
    .contact-icons .contact-item {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .contact-icons .contact-tooltip {
        min-width: 150px;
    }
    
    .contact-icons .qr-code img {
        width: 80px;
        height: 80px;
    }
    
    .contact-icons .tooltip-content {
        padding: 8px;
    }
    
    .contact-icons .tooltip-content h4 {
        font-size: 0.8rem;
    }
    
    .contact-icons .tooltip-content p {
        font-size: 0.7rem;
    }
    
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .product-card,
    .contact-form,
    .service-item,
    .case-item {
        padding: 1.2rem;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .case-image {
        height: 150px;
    }
    
    .products-section,
    .services-section,
    .cases-section,
    .about-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .workflow-card {
        padding: 1rem;
    }
    
    .workflow-title {
        font-size: 1.2rem;
    }
    
    .workflow-subtitle {
        font-size: 0.8rem;
    }
    
    .step-box {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .workflow-note {
        font-size: 0.7rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .product-card,
    .contact-form {
        padding: 1rem;
    }
    
    .products-section,
    .services-section,
    .cases-section,
    .about-section,
    .contact-section {
        padding: 3rem 0;
    }
}

/* 文章页面样式 */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #295DFC 0%, #295DFC 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 文章列表样式 */
.articles-section {
    padding: 4rem 0;
}

.articles-filter {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-tabs {
    display: inline-flex;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #295DFC;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #295DFC;
    color: #295DFC;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number.active,
.pagination-number:hover {
    border-color: #295DFC;
    background: #295DFC;
    color: white;
}

.pagination-ellipsis {
    padding: 0 10px;
    color: #999;
}

/* 文章详情页面样式 */
.article-detail-section {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #295DFC;
    text-decoration: none;
}

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

.breadcrumb i {
    color: #999;
    font-size: 0.8rem;
}

.article-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-header .article-category {
    display: inline-block;
    margin-bottom: 1rem;
}

.article-header .article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
}

.publish-date {
    color: #999;
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.9rem;
}

.article-body {
    margin-bottom: 3rem;
}

.article-body .article-image {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.article-body .article-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-content {
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-blue);
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1.5rem 0 0.8rem;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content pre {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.article-tags {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tag-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    background: var(--light-blue);
    color: #295DFC;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #295DFC;
    color: white;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.action-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.action-btn:hover {
    border-color: #295DFC;
    color: #295DFC;
}

.action-btn.liked {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fdf2f2;
}

.action-btn.bookmarked {
    border-color: #295DFC;
    color: #295DFC;
    background: var(--light-blue);
}

.related-articles h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #295DFC;
}

.related-date {
    color: #999;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .article-header .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-article {
        flex-direction: column;
        text-align: center;
    }
    
    .related-image {
        width: 100%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .articles-section {
        padding: 3rem 0;
    }
    
    .article-header .article-title {
        font-size: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
    }
}

/* 工作机会页面样式 */
.careers-section {
    padding: 4rem 0;
}

.careers-filter {
    margin-bottom: 3rem;
    text-align: center;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.career-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #295DFC;
}

.career-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.career-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.career-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.career-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.9rem;
}

.career-meta i {
    color: #295DFC;
}

.career-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

.career-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.career-content li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.career-tags .tag {
    background: var(--light-blue);
    color: #295DFC;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.career-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.publish-date {
    color: #999;
    font-size: 0.9rem;
}

/* 公司文化区域 */
.company-culture {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.culture-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.culture-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 工作机会页面响应式设计 */
@media (max-width: 1024px) {
    .careers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.8rem;
    }
    
    .culture-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .careers-section {
        padding: 4rem 0;
    }
    
    .careers-filter {
        margin-bottom: 2.5rem;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .career-card {
        padding: 1.5rem;
    }
    
    .career-header {
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
    }
    
    .career-title {
        font-size: 1.25rem;
    }
    
    .career-meta {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .career-content h4 {
        font-size: 0.95rem;
    }
    
    .career-content ul {
        padding-left: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .career-content li {
        font-size: 0.9rem;
    }
    
    .career-footer {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .culture-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .culture-item {
        padding: 1.5rem;
    }
    
    .culture-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .culture-item h3 {
        font-size: 1.1rem;
    }
    
    .culture-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .careers-section {
        padding: 3.5rem 0;
    }
    
    .careers-filter {
        margin-bottom: 2rem;
    }
    
    .career-card {
        padding: 1.2rem;
    }
    
    .career-header {
        padding: 1.2rem 1.2rem 0.8rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .career-title {
        font-size: 1.15rem;
    }
    
    .career-meta span {
        font-size: 0.85rem;
    }
    
    .career-content ul {
        padding-left: 1rem;
    }
    
    .career-content li {
        margin-bottom: 0.4rem;
    }
    
    .career-tags .tag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .culture-item {
        padding: 1.2rem;
    }
    
    .culture-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .culture-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .careers-section {
        padding: 3rem 0;
    }
    
    .career-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .career-header {
        padding: 1rem 1rem 0.6rem;
    }
    
    .career-title {
        font-size: 1.1rem;
    }
    
    .career-meta {
        gap: 0.5rem;
    }
    
    .career-meta span {
        font-size: 0.8rem;
    }
    
    .career-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .career-content ul {
        padding-left: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .career-content li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .career-tags {
        margin-bottom: 1rem;
    }
    
    .career-tags .tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .publish-date {
        font-size: 0.8rem;
    }
    
    .culture-item {
        padding: 1rem;
    }
    
    .culture-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .culture-item h3 {
        font-size: 0.95rem;
    }
    
    .culture-item p {
        font-size: 0.85rem;
    }
    
    .company-culture {
        padding: 2.5rem 0;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .careers-section {
        padding: 2.5rem 0;
    }
    
    .career-card {
        padding: 0.8rem;
    }
    
    .career-title {
        font-size: 1rem;
    }
    
    .career-content h4 {
        font-size: 0.85rem;
    }
    
    .career-content li {
        font-size: 0.8rem;
    }
    
    .culture-item {
        padding: 0.8rem;
    }
    
    .culture-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .culture-item h3 {
        font-size: 0.9rem;
    }
    
    .company-culture {
        padding: 2rem 0;
    }
}

/* 头部登录状态 */
.header-auth { display: flex; align-items: center; gap: 12px; margin-right: 12px; }
.header-auth .login-link { padding: 8px 14px; border-radius: 999px; background: #295DFC; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.header-auth .login-link:hover { background: #1e40af; }
.header-auth .avatar { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(45deg, #295DFC, #295DFC); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 14px; }
.header-auth .username { color: #e2e8f0; font-weight: 600; font-size: 0.95rem; }
.header-auth .profile-link { color: #295DFC; text-decoration: none; font-weight: 600; display:flex; align-items:center; gap:8px; }
.header-auth .profile-link:hover { text-decoration: underline; }

/* 购物车链接 */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cart-link a:hover {
    color: #295DFC;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 文章区域样式 */
.articles-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.article-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-meta i {
    font-size: 0.75rem;
    color: #295DFC;
}

.article-content {
    padding: 1rem 1.5rem;
}

.article-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.article-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #295DFC;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: #295DFC;
    transform: translateX(2px);
}

.article-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(2px);
}

/* 文章加载状态 */
.articles-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    grid-column: 1 / -1;
}

.articles-loading .loading-spinner {
    text-align: center;
}

.articles-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--secondary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.articles-loading p {
    color: #64748b;
    font-size: 0.95rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 简化文章列表项（article-item）样式 */
.article-item {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #1e40af);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-item:hover::before {
    transform: scaleX(1);
}

.article-item + .article-item {
    margin-top: 1rem;
}

.article-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 40px rgba(41, 93, 252, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.article-item h3 {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    align-items: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.article-meta i {
    font-size: 0.875rem;
    color: var(--primary-blue);
    width: 14px;
    text-align: center;
    opacity: 0.8;
}

.article-author,
.article-date,
.article-views {
    color: #475569;
    transition: color 0.3s ease;
}

.article-item:hover .article-author,
.article-item:hover .article-date,
.article-item:hover .article-views {
    color: var(--primary-blue);
}

/* 文章网格在纯文本列表场景的间距优化 */
.articles-grid {
    row-gap: 1rem;
}

/* 空数据状态 */
.articles-grid > p {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .article-item {
        padding: 1.5rem;
        border-radius: 14px;
        height: 140px;
    }
    .article-item h3 { 
        font-size: 1.05rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    .article-meta {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    .article-meta span {
        font-size: 0.825rem;
        gap: 0.5rem;
    }
    .article-meta i {
        font-size: 0.8rem;
        width: 12px;
    }
}

/* 文章元信息徽章化（通过正则字符包含实现轻量美化） */
.article-item p {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.article-item p::before {
    content: "";
}

.article-item:hover h3 { color: var(--primary-blue); }

/* 版心细节优化 */
.articles-section .section-header { max-width: 820px; margin: 0 auto; }
.articles-section .section-subtitle { color: #64748b; }

/* 帮助文档页面样式 */
.help-page {
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    height: 100vh !important;
    overflow: hidden !important;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif !important;
}

.help-page * {
    box-sizing: border-box !important;
}

/* 重置帮助文档页面的所有可能冲突的样式 */
.help-page .container,
.help-page .wrapper,
.help-page .main-content,
.help-page .section-header,
.help-page .section-title,
.help-page .section-subtitle {
    all: unset !important;
}

.help-page h1,
.help-page h2,
.help-page h3,
.help-page h4,
.help-page h5,
.help-page h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.help-page ul,
.help-page ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.help-page a {
    text-decoration: none !important;
    color: inherit !important;
}

.help-page button {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font: inherit !important;
    cursor: pointer !important;
}

.help-container {
    display: flex !important;
    height: 100vh !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 左侧导航栏 */
.help-sidebar {
    width: 280px !important;
    background: #1e293b !important;
    color: #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-right: 1px solid #334155 !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 100 !important;
}

.help-sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-sidebar-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f1f5f9;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: none;
}

.sidebar-toggle:hover {
    background: #334155;
    color: #f1f5f9;
}

/* 导航树 */
.help-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.help-nav-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-nav .nav-item {
    margin: 0;
}

.help-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.help-nav .nav-link:hover {
    background: #334155;
    color: #f1f5f9;
}

.help-nav .nav-link.active {
    background: #295DFC;
    color: #fff;
    border-left-color: #295DFC;
}

.help-nav .nav-link i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.help-nav .nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #0f172a;
}

.help-nav .nav-submenu .nav-link {
    padding-left: 3rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.help-nav .nav-submenu .nav-link:hover {
    background: #1e293b;
    color: #e2e8f0;
}

.help-nav .nav-submenu .nav-link.active {
    background: #1e40af;
    color: #fff;
}

/* 右侧内容区域 */
.help-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    width: calc(100% - 280px) !important;
}

.help-content-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #295DFC;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.back-to-home:hover {
    background: #295DFC;
    transform: translateX(-2px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #1e293b;
    font-weight: 500;
}

/* 内容主体 */
.help-content-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.help-section {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.help-section.active {
    display: block;
}

.help-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    border-bottom: 3px solid #295DFC;
    padding-bottom: 0.5rem;
}

.help-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem 0;
}

.help-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 0.75rem 0;
}

.help-section p {
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
}

.help-section ul, .help-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.help-section li {
    line-height: 1.6;
    color: #475569;
    margin-bottom: 0.5rem;
}

.help-section strong {
    color: #1e293b;
    font-weight: 600;
}

/* 功能网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.feature-card i {
    font-size: 2rem;
    color: #295DFC;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.feature-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* 代码块 */
.code-block {
    background: #1e293b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #e2e8f0;
}

/* 配置部分 */
.config-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.config-section h3 {
    margin-top: 0;
    color: #1e293b;
}

/* FAQ项目 */
.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.faq-item h3 {
    margin-top: 0;
    color: #295DFC;
}

.faq-item p {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .help-sidebar {
        width: 260px;
    }
    
    .help-content {
        width: calc(100% - 260px) !important;
    }
}

@media (max-width: 1024px) {
    .help-sidebar {
        width: 240px;
    }
    
    .help-content {
        width: calc(100% - 240px) !important;
    }
    
    .help-content-header {
        padding: 1.25rem 1.5rem;
    }
    
    .help-content-body {
        padding: 1.5rem;
    }
    
    .help-section h1 {
        font-size: 2.2rem;
    }
    
    .help-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .help-container {
        flex-direction: column;
        height: auto !important;
    }
    
    .help-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 1000 !important;
        transform: translateX(-100%) !important;
        width: 280px !important;
        transition: transform 0.3s ease !important;
    }
    
    .help-sidebar.open {
        transform: translateX(0) !important;
    }
    
    .sidebar-toggle {
        display: block !important;
    }
    
    .help-content {
        width: 100% !important;
        height: auto !important;
    }
    
    .help-content-header {
        padding: 1rem !important;
        flex-wrap: wrap;
    }
    
    .back-to-home {
        order: 2;
        align-self: flex-start;
        margin-top: 0.5rem;
    }
    
    .breadcrumb {
        order: 1;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .help-content-body {
        padding: 1rem !important;
    }
    
    .help-section h1 {
        font-size: 1.8rem !important;
    }
    
    .help-section h2 {
        font-size: 1.3rem;
    }
    
    .help-section h3 {
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .config-section,
    .faq-item {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .help-sidebar {
        width: 260px !important;
    }
    
    .help-content-header {
        padding: 0.8rem !important;
    }
    
    .back-to-home {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .help-content-body {
        padding: 0.8rem !important;
    }
    
    .help-section h1 {
        font-size: 1.6rem !important;
    }
    
    .help-section h2 {
        font-size: 1.2rem;
    }
    
    .help-section p {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.05rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .config-section,
    .faq-item {
        padding: 1rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .help-sidebar {
        width: 240px !important;
    }
    
    .help-container {
        position: relative;
    }
    
    .help-content-header {
        padding: 0.6rem !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .back-to-home {
        align-self: stretch;
        justify-content: center;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .breadcrumb {
        display: flex !important;
        font-size: 0.8rem;
    }
    
    .help-content-body {
        padding: 0.6rem !important;
    }
    
    .help-section h1 {
        font-size: 1.5rem !important;
    }
    
    .help-section h2 {
        font-size: 1.1rem;
    }
    
    .help-section h3 {
        font-size: 1rem;
    }
    
    .help-section p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .help-section ul,
    .help-section ol {
        padding-left: 1.2rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
    
    .feature-card i {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin: 0.4rem 0 0.3rem 0;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .config-section,
    .faq-item {
        padding: 0.8rem;
    }
    
    .config-section h3,
    .faq-item h3 {
        font-size: 1rem;
    }
    
    .code-block {
        padding: 0.8rem;
        font-size: 0.75rem;
    }
    
    .code-block pre {
        font-size: 0.75rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .help-sidebar {
        width: 220px !important;
    }
    
    .help-content-header {
        padding: 0.5rem !important;
    }
    
    .help-content-body {
        padding: 0.5rem !important;
    }
    
    .help-section h1 {
        font-size: 1.4rem !important;
    }
    
    .help-section h2 {
        font-size: 1rem;
    }
    
    .help-section p {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 0.6rem;
    }
    
    .config-section,
    .faq-item {
        padding: 0.6rem;
    }
    
    .code-block {
        padding: 0.6rem;
    }
}

/* 文章区域响应式设计 */
@media (max-width: 1024px) {
    .articles-section {
        padding: 4rem 0;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .articles-section {
        padding: 3rem 0;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .article-card {
        margin: 0;
        border-radius: 10px;
    }
    
    .article-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .article-meta {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    
    .article-content {
        padding: 0.75rem 1.25rem;
    }
    
    .article-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }
    
    .articles-loading .spinner {
        width: 35px;
        height: 35px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* 文章详情页面调整 */
    .article-header .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .article-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        flex: 1 1 120px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .articles-section {
        padding: 2.5rem 0;
    }
    
    .article-card {
        border-radius: 8px;
    }
    
    .article-header {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .article-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .article-content {
        padding: 0.5rem 1rem;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .article-footer {
        padding: 0.5rem 1rem 1rem;
    }
    
    .articles-grid {
        gap: 1.2rem;
    }
    
    /* 文章详情页面调整 */
    .article-header .article-title {
        font-size: 1.5rem;
    }
    
    .article-detail-content {
        padding: 0 10px;
    }
    
    .article-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-article {
        flex-direction: column;
        text-align: center;
    }
    
    .related-image {
        width: 100%;
        height: 100px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .articles-section {
        padding: 2rem 0;
    }
    
    .article-card {
        margin: 0;
    }
    
    .article-header {
        padding: 0.8rem;
    }
    
    .article-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .article-meta {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .article-content {
        padding: 0.5rem 0.8rem;
    }
    
    .article-footer {
        padding: 0.5rem 0.8rem 0.8rem;
    }
    
    .article-excerpt {
        line-height: 1.5;
    }
    
    .article-meta span {
        gap: 0.2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* 简化文章列表项 */
    .article-item {
        padding: 1.25rem;
        height: auto;
        min-height: 120px;
        border-radius: 12px;
    }
    
    .article-item h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .article-meta {
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    
    .article-meta span {
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    
    .article-meta i {
        font-size: 0.75rem;
        width: 10px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .page-header {
        padding: 2.5rem 0 1rem;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    .article-item {
        padding: 1rem;
        min-height: 100px;
        border-radius: 10px;
    }
    
    .article-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .article-meta {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .article-meta span {
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .article-meta i {
        font-size: 0.7rem;
        width: 8px;
    }
    
    .articles-section {
        padding: 1.5rem 0;
    }
}

