/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

/* 导航栏样�?*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link{
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link :hover,
.nav-link,.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1f2937;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner区域样式 */
.hero-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背景图片样式 */
.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* 遮罩�?*/
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

.banner-text {
    color: white !important;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.banner-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white !important;
    visibility: visible !important;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(36, 134, 251, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 134, 251, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.visual-element {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* 添加线性装饰元�?*/
.visual-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
    z-index: 1;
}

.visual-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: conic-gradient(from 180deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 6s linear infinite reverse;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/* 图标样式 */
.visual-element i {
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

/* 添加外部装饰�?*/
.visual-element .outer-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.visual-element .inner-ring {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 1s;
}

/* 添加连接�?*/
.visual-element .connection-line {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation: lineGlow 2s ease-in-out infinite;
}

.visual-element .connection-line::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -2px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.visual-element i {
    font-size: 4rem;
    color: white;
}

/* Swiper样式自定�?*/
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #2563eb;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: transparent;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* 痛点共鸣区域样式 - 时间轴设�?*/
.pain-points-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 时间轴布局 */
.pain-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e5e7eb;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 1;
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-content.reverse {
    direction: rtl;
}

.timeline-content.reverse * {
    direction: ltr;
}

.content-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.timeline-item:hover .timeline-image {
    transform: scale(1.05);
}

.content-text {
    padding: 2rem;
}

.content-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    font-weight: 300;
}

/* 底部引用区域 */
.section-footer {
    text-align: center;
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.empathy-quote {
    margin-bottom: 3rem;
}

.empathy-quote p {
    font-size: 1.5rem;
    color: #1f2937;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-author {
    font-size: 1rem;
    color: #2563eb;
    font-weight: 500;
}

/* 底部样式 */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
}

.footer-description {
    color: #6b7280;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-contact p {
    color: #6b7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(36, 134, 251, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
}

/* 动画关键�?*/
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 痛点共鸣区域响应�?*/
@media (max-width: 768px) {
    .pain-points-section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .pain-timeline::before {
        left: 2rem;
    }
    
    .timeline-number {
        left: 2rem;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-left: 4rem;
    }
    
    .timeline-content.reverse {
        direction: ltr;
    }
    
    .content-text {
        padding: 1.5rem 0;
    }
    
    .content-text h3 {
        font-size: 1.5rem;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .timeline-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .pain-points-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        margin-bottom: 4rem;
    }
    
    .timeline-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .content-text h3 {
        font-size: 1.3rem;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    .timeline-image {
        height: 200px;
    }
    
    .empathy-quote p {
        font-size: 1.2rem;
    }
}

/* 关于我们页面样式 */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 团队故事区域 */
.team-story-section {
    background: #f9fafb;
    padding: 8rem 0;
    position: relative;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: justify;
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

/* 团队优势区域 */
.team-advantages-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.advantages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f9fafb;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(36, 134, 251, 0.1);
    border-color: #2563eb;
}

.advantage-icon {
    width: 120px;
    height: auto;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    box-shadow: 0 12px 35px rgba(36, 134, 251, 0.15);
    transform: translateY(-5px);
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.advantage-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

/* 服务理念区域 */
.service-philosophy-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.philosophy-quote {
    background: #f9fafb;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    border: 1px solid #e5e7eb;
}

.philosophy-quote p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #1f2937;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-author {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #1f2937;
}

.philosophy-point i {
    color: #2563eb;
    font-size: 1.2rem;
}

/* 团队承诺区域 */
.team-commitment-section {
    background: #f9fafb;
    padding: 8rem 0;
    position: relative;
}

.commitment-header {
    text-align: center;
    margin-bottom: 4rem;
}

.commitment-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.commitment-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.commitment-item:hover .commitment-number {
    background: #3b82f6;
    transform: scale(1.05);
}

.commitment-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.commitment-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

/* 联系我们区域 */
.contact-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-actions {
        justify-content: center;
    }

    .btn {
        min-width: 140px;
        padding: 0.8rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
    
    /* 关于我们页面响应�?*/
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .philosophy-quote {
        padding: 2rem;
        margin: 0 1rem 2rem;
    }
    
    .philosophy-quote p {
        font-size: 1.1rem;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .banner-content {
        padding: 0 1rem;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .btn {
        min-width: 120px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-container {
        padding: 0 1rem;
    }
    
    /* 关于我们页面小屏幕响应式 */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
    
    .philosophy-quote {
        padding: 1.5rem;
        margin: 0 1rem 1.5rem;
    }
    
    .philosophy-quote p {
        font-size: 1rem;
    }
    
    .commitment-item {
        padding: 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* 联系我们页面样式 */
.contact-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 联系信息区域 */
.contact-info-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-method {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f9fafb;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(36, 134, 251, 0.1);
    border-color: #2563eb;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    background: #3b82f6;
    transform: scale(1.05);
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.contact-method h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.method-detail {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.method-description {
    font-size: 0.9rem;
    color: #6b7280;
}

/* 留言表单区域 */
.contact-form-section {
    background: #f9fafb;
    padding: 8rem 0;
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(36, 134, 251, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-actions .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    min-width: 200px;
}

.form-actions .btn i {
    margin-right: 0.5rem;
}

/* 服务承诺区域 */
.service-promise-section {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.promise-content {
    text-align: center;
}

.promise-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.promise-item {
    text-align: center;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.promise-item:hover .promise-icon {
    background: #3b82f6;
    transform: scale(1.05);
}

.promise-icon i {
    font-size: 2rem;
    color: white;
}

.promise-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.promise-item p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* 联系我们页面响应�?*/
@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-method {
        padding: 2rem 1.5rem;
    }
    
    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .promise-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-method {
        padding: 1.5rem 1rem;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
    }
    
    .method-icon i {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .form-actions .btn {
        padding: 0.8rem 2rem;
        min-width: 180px;
        font-size: 1rem;
    }
    
    .promise-title {
        font-size: 1.8rem;
    }
}

/* ==================== 博客相关样式 ==================== */
/* 博客列表页面样式 */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg1-1920x1200.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.blog-content {
    padding: 4rem 0;
    background: #f9fafb;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f9fafb;
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-post:hover::before {
    transform: scaleX(1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(36, 134, 251, 0.1), rgba(251, 103, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post:hover .post-image::after {
    opacity: 1;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post:hover .post-image img {
    transform: scale(1.08);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.post-meta i {
    color: #2563eb;
    font-size: 1rem;
}

.post-meta span:hover {
    color: #2563eb;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.post-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

.post-title a:hover::after {
    width: 100%;
}

.post-title a:hover {
    color: #2563eb;
}

.post-excerpt {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.post-tag {
    background: #f9fafb;
    color: #6b7280;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.post-tag:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 134, 251, 0.3);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: white;
}

.read-more:hover {
    gap: 0.8rem;
    color: white;
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 134, 251, 0.3);
}

/* 博客侧边�?*/
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f9fafb;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f9fafb;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

.sidebar-widget:hover .widget-title::after {
    width: 100%;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(36, 134, 251, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 134, 251, 0.4);
}

.category-list {
    list-style: none;
}

.category-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f9fafb;
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    padding-left: 0.8rem;
    background: #f9fafb;
    border-radius: 10px;
    margin: 0 -0.5rem;
    padding-left: 1.3rem;
}

.category-link {
    color: #6b7280;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-weight: 500;
}

.category-link:hover {
    color: #2563eb;
}

.category-count {
    background: #f9fafb;
    color: #6b7280;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
}

.recent-posts {
    list-style: none;
}

.recent-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f9fafb;
    transition: all 0.3s ease;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post:hover {
    padding-left: 0.5rem;
}

.recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f9fafb;
    transition: all 0.3s ease;
}

.recent-post:hover .recent-post-image {
    border-color: #2563eb;
    transform: scale(1.05);
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.recent-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: #2563eb;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #6b7280;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

/* 易优CMS分页样式 */
.blog-posts ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    list-style: none;
    flex-wrap: wrap;
}

.blog-posts ul li {
    margin: 0;
    padding: 0;
}

.blog-posts ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.blog-posts ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-posts ul li a:hover::before,
.blog-posts ul li.active a::before {
    left: 0;
}

.blog-posts ul li a:hover,
.blog-posts ul li.active a {
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 134, 251, 0.25);
}

/* 上一页/下一页按钮样式 */
.blog-posts ul li:first-child a,
.blog-posts ul li:last-child a {
    min-width: auto;
    padding: 0 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-color: #d1d5db;
}

.blog-posts ul li:first-child a:hover,
.blog-posts ul li:last-child a:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    color: white;
}

/* 当前页样式 */
.blog-posts ul li.active a {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    color: white;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-posts ul {
        gap: 0.4rem;
        margin: 2rem 0;
    }
    
    .blog-posts ul li a {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .blog-posts ul li:first-child a,
    .blog-posts ul li:last-child a {
        padding: 0 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .blog-posts ul {
        gap: 0.3rem;
    }
    
    .blog-posts ul li a {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .blog-posts ul li:first-child a,
    .blog-posts ul li:last-child a {
        padding: 0 12px;
        font-size: 0.8rem;
    }
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transition: left 0.3s ease;
    z-index: -1;
}

.page-link:hover::before,
.page-link.active::before {
    left: 0;
}

.page-link:hover,
.page-link.active {
    color: white;
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(36, 134, 251, 0.3);
}

.page-link.prev,
.page-link.next {
    width: auto;
    padding: 0 1.5rem;
    gap: 0.5rem;
    font-weight: 600;
}

/* 博客详情页面样式 */
.blog-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg1-1920x1200.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.blog-detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-detail-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.blog-detail-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-detail-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.blog-detail-hero-meta span:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.blog-detail-hero-meta i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.blog-detail-hero-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-detail-hero-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-detail-hero-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.blog-detail-content {
    padding: 4rem 0;
    background: #f9fafb;
}

.blog-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.article-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f9fafb;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.article-main:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f9fafb;
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-meta span:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

.article-meta i {
    color: #2563eb;
    font-size: 1.1rem;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-tag {
    background: #f9fafb;
    color: #6b7280;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.article-tag:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 134, 251, 0.3);
}

.article-content {
    line-height: 1.8;
    color: #1f2937;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f9fafb;
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #6b7280;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: #6b7280;
    position: relative;
}

.article-content ul li::before {
    content: '�?;
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.article-content ol li::before {
    content: counter(list-item);
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: -2rem;
}

.article-content blockquote {
    background: linear-gradient(135deg, #f9fafb, #f9fafb);
    border-left: 4px solid #2563eb;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #6b7280;
    position: relative;
    overflow: hidden;
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(36, 134, 251, 0.1);
    font-family: serif;
}

.article-content code {
    background: #f9fafb;
    color: #e11d48;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
}

.article-content pre {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #e5e7eb;
    padding: 2rem;
    border-radius: 15px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid #374151;
    position: relative;
}

.article-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #374151;
    border-radius: 15px 15px 0 0;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 作者信�?*/
.article-author {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f9fafb;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.article-author:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f9fafb;
    transition: all 0.3s ease;
}

.article-author:hover .author-avatar {
    border-color: #2563eb;
    transform: scale(1.05);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-author:hover .author-avatar img {
    transform: scale(1.1);
}

.author-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    color: #6b7280;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9fafb;
}

.author-social a:hover {
    color: white;
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 134, 251, 0.3);
}

/* 相关文章 */
.related-articles {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f9fafb;
}

.related-articles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f9fafb;
    position: relative;
}

.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article {
    border: 1px solid #f9fafb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.related-article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-title a:hover {
    color: #2563eb;
}

.related-article-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* 分享和导�?*/
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f9fafb;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.share-btn:hover::before {
    left: 0;
}

.share-btn.wechat {
    background: #07c160;
    color: white;
}

.share-btn.weibo {
    background: #e6162d;
    color: white;
}

.share-btn.zhihu {
    background: #0084ff;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.article-navigation {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #2563eb;
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-btn:hover::before {
    left: 0;
}

.nav-btn:hover {
    border-color: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(36, 134, 251, 0.3);
}

.nav-btn.prev {
    background: white;
}

.nav-btn.next {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.nav-btn.next:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

/* 博客详情页侧边栏 */
.blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-detail-sidebar .sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f9fafb;
    transition: all 0.3s ease;
}

.blog-detail-sidebar .sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* 文章目录样式 */
.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.8rem;
}

.toc-link {
    color: #6b7280;
    text-decoration: none;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc-link:hover {
    color: #2563eb;
    background: #f9fafb;
    border-color: #e5e7eb;
    transform: translateX(5px);
}

/* 作者卡片样�?*/
.author-card {
    text-align: center;
}

.author-card .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid #f9fafb;
    transition: all 0.3s ease;
}

.author-card:hover .author-avatar {
    border-color: #2563eb;
    transform: scale(1.05);
}

.author-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card .author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.author-card .author-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.author-card .author-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.author-card .author-social a {
    color: #6b7280;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9fafb;
}

.author-card .author-social a:hover {
    color: white;
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 134, 251, 0.3);
}

/* 侧边栏相关文章样�?*/
.related-posts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.related-post-item:hover {
    border-color: #2563eb;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-post-item .related-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-item .related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-item .related-post-content {
    flex: 1;
}

.related-post-item .related-post-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.related-post-item .related-post-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item .related-post-content h4 a:hover {
    color: #2563eb;
}

.related-post-item .related-post-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

/* 标签云样�?*/
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: #f9fafb;
    color: #6b7280;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.tag-item:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(36, 134, 251, 0.3);
}

/* 订阅表单样式 */
.subscribe-form p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.email-subscribe {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.email-subscribe input[type="email"] {
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.email-subscribe input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(36, 134, 251, 0.1);
}

.email-subscribe button {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.email-subscribe button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 134, 251, 0.3);
}

/* 博客页面响应式设�?*/
@media (max-width: 1024px) {
    .blog-container,
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-sidebar,
    .blog-detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .blog-hero-title,
    .blog-detail-hero-title {
        font-size: 2.2rem;
    }
    
    .blog-hero,
    .blog-detail-hero {
        padding: 6rem 0 3rem;
    }
    
    .blog-hero-meta,
    .blog-detail-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-main {
        padding: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-buttons, .article-navigation {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
} 
