/* 全局样式 */
:root {
    /* 主题颜色 - 暗色主题（默认） */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-primary: #00d4ff;
    --accent-secondary: #0066ff;
    --accent-gradient: linear-gradient(135deg, #00d4ff, #0066ff);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 212, 255, 0.3);

    --shadow-color: rgba(0, 0, 0, 0.5);
    --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* 导航栏 */
    --nav-bg: transparent;
    --nav-text: #ffffff;

    /* 骨架屏 */
    --skeleton-base: rgba(255, 255, 255, 0.05);
    --skeleton-highlight: rgba(255, 255, 255, 0.1);

    /* 按钮 */
    --btn-primary-bg: linear-gradient(135deg, #00d4ff, #0066ff);
    --btn-primary-color: #ffffff;
    --btn-outline-border: #00d4ff;
    --btn-outline-color: #00d4ff;

    /* 输入框 */
    --input-bg: rgba(255, 255, 255, 0.08);
    --input-border: rgba(255, 255, 255, 0.15);
    --input-focus-border: #00d4ff;
    --input-placeholder: rgba(255, 255, 255, 0.4);
}

/* 亮色主题 */
[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8e8;
    --bg-card: rgba(0, 0, 0, 0.05);
    --bg-card-hover: rgba(0, 0, 0, 0.1);
    /*--bg-overlay: rgba(255, 255, 255, 0.8);*/
    --bg-overlay: rgba(0, 0, 0, 0.6);

    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.85);
    --text-tertiary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);

    --border-color: rgba(0, 0, 0, 0.1);
    --border-accent: rgba(0, 102, 255, 0.3);

    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-text: #1a1a1a;

    --skeleton-base: rgba(0, 0, 0, 0.05);
    --skeleton-highlight: rgba(0, 0, 0, 0.1);

    --btn-outline-border: #0066ff;
    --btn-outline-color: #0066ff;

    --input-bg: rgba(0, 0, 0, 0.05);
    --input-border: rgba(0, 0, 0, 0.15);
    --input-focus-border: #0066ff;
    --input-placeholder: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

body::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 导航栏 */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    transition: all 0.3s ease;
    /*background: var(--nav-bg);*/
}

.navbar.scrolled {
    /*background: var(--bg-overlay);*/
    /*backdrop-filter: blur(10px);*/
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--nav-text);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    user-select: none;
}

.nav-links a {
    color: var(--nav-text);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.btn-contact {
    padding: 10px 24px;
    background: var(--btn-primary-bg);
    border-radius: 25px;
    font-weight: 500;
    color: var(--btn-primary-color);
}

.btn-contact:hover {
    color: var(--btn-primary-color) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--nav-text);
    transition: 0.3s;
}

/* 第一屏：视频区域 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.bg-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.logo-wrapper {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.1s;
}

.logo-wrapper .logo {
    max-width: 300px;
    height: auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-title-m {
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    display: none;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.slogan {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 6px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
    /* background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 13px;
    position: relative;
}

.scroll-text-mobile {
    display: none;
}

.scroll-arrow-mobile {
    display: none;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* 动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}


/* 第二屏：经典案例 */
.cases-section {
    min-height: 100vh;
    padding: 80px 50px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 4px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cases-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cases-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 88px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cases-scroll-container::-webkit-scrollbar {
    display: none;
}

.cases-grid {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

/* 骨架屏样式 */
.case-skeleton {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    /*scroll-snap-align: center;*/
    display: flex;
    flex-direction: column;
}

.skeleton-image {
    height: 240px;
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    width: 60%;
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.case-card {
    flex: 0 0 400px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    /*scroll-snap-align: center;*/
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-10px) scale(1.02);
}


.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-gradient);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.case-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    /* 标题最多2行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.case-content p {
    font-size: 14px;
    color: var(--text-tertiary);
    /* 限制最多3行，超出显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    max-height: 4.8em;
    text-align: justify;
}

/* 首页案例卡片 */
.case-card {
    min-width: 300px;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
}


.case-card .case-image {
    height: 267px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}


.case-link {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.scroll-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
}

.scroll-arrow:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.scroll-arrow::before {
    content: '‹';
    font-size: 24px;
    color: var(--text-primary);
}

.scroll-arrow.next::before {
    content: '›';
}

.cases-cta {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .cases-section {
        padding: 60px 20px;
    }

    .cases-scroll-container {
        padding: 20px 0px 30px;
    }

    .case-card {
        flex: 0 0 280px;
    }

    .case-image {
        height: 180px;
    }

    .scroll-arrows {
        display: none;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .scroll-text-desktop {
        display: none;
    }

    .scroll-text-mobile {
        display: block;
    }

    .mouse {
        display: none;
    }

    .scroll-arrow-mobile {
        display: flex;
        font-size: 28px;
        color: #fff;
        animation: bounceMobile 1.5s infinite;
    }

    @keyframes bounceMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(8px);
        }
    }
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-color);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #00d4ff;
    color: #000;
}

/* 最新资讯页面 */
.news-page {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.news-header {
    text-align: center;
    padding: 80px 20px 60px;
}

.news-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: 8px;
}

.news-header .subtitle {
    font-size: 18px;
    color: var(--accent-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* 第三屏：最新资讯 */
.news-section {
    padding: 80px 50px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
}

.news-page .news-section {
    background: transparent;
}

.news-page-section {
    min-height: calc(100vh - 300px);
}

.news-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 资讯详情弹窗 */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.news-modal.show {
    display: block;
}

.news-content-item {
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    transition: all 0.6s ease;
}

.news-content-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.news-content-item.reverse {
    flex-direction: row-reverse;
}

.news-img-wrapper {
    flex: 0 0 400px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
}

.news-img-wrapper .item-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.news-img-wrapper:hover .item-img {
    transform: scale(1.05);
}

.news-divider {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-divider span {
    font-size: 20px;
    color: var(--accent-primary);
}

.item-content {
    flex: 1;
    padding: 20px 0;
}

.item-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.4;
    color: var(--text-primary);
}

.item-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.item-content .news-date {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .news-content-item {
        flex-direction: column !important;
        gap: 30px;
    }

    .news-img-wrapper {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .news-divider {
        display: none;
    }

    .item-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 20px;
    }

    .news-img-wrapper {
        height: 267px;
    }

    .item-content h3 {
        font-size: 20px;
    }

    .item-content p {
        font-size: 14px;
    }
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

/* 走进泰中 - 单独页面 */
.about-page {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.about-header {
    text-align: center;
    padding: 80px 20px 60px;
}

.about-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 8px;
    color: var(--text-primary);
}

.about-header .subtitle {
    font-size: 18px;
    color: var(--accent-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0066ff);
    margin: 0 auto;
    border-radius: 2px;
}

/* 公司简介 */
.about-intro-section {
    padding: 60px 50px;
}

.intro-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.intro-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.intro-text .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.intro-text .content {
    font-size: 17px;
    line-height: 2.2;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-indent: 2em;
}

.intro-image {
    flex: 0 0 550px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

/* 分隔装饰 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.divider-icon {
    padding: 0 30px;
    color: #00d4ff;
    font-size: 16px;
}

/* 发展历程 */
.about-timeline-section {
    padding: 60px 50px;
}

.about-timeline-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-timeline-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-timeline-section .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.timeline-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 89px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0066ff, #00d4ff, #0066ff);
    z-index: 0;
}

.timeline-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 40px 0px 40px;
    /*scroll-snap-type: x mandatory;*/
    /*-webkit-overflow-scrolling: touch;*/
    position: relative;
}

.timeline-track::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline-track::before {
    display: none;
}

.timeline-item {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.marker-dot {
    width: 24px;
    height: 24px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    margin-bottom: 15px;
    position: relative;
}

.marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.marker-year {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 2px;
}

.timeline-card {
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    text-align: justify;
}

.timeline-card:hover {
    transform: translateY(-10px);
}

.timeline-date {
    display: block;
    font-size: 15px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.timeline-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 企业文化 */
.about-culture-section {
    padding: 80px 50px 120px;
}

.about-culture-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-culture-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-culture-section .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.culture-border {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0066ff);
    margin: 20px auto 0;
    border-radius: 2px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.culture-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.culture-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.culture-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.culture-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.culture-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.culture-card ul li:last-child {
    margin-bottom: 0;
}

.culture-core {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 102, 255, 0.15));
    border-color: rgba(0, 212, 255, 0.3);
}

.culture-core h4 {
    color: #00d4ff;
}

.spirit-list,
.honor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.spirit-list li,
.honor-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
    line-height: 1.6;
}

.honor-list li i {
    color: #00d4ff;
    margin-right: 10px;
}

.spirit-tag {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

/* 公司荣誉 */
.about-honor-section {
    padding: 100px 20px;
}

.about-honor-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-honor-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-honor-section .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.honor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

.honor-item {
    width: calc(16.666% - 30px);
    text-align: center;
    cursor: pointer;
}

.honor-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-card);
    padding: 10px;
}

.honor-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 15px 0 0;
    line-height: 1.4;
}

/* 合作伙伴 */
.about-partner-section {
    padding: 100px 20px;
}

.about-partner-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-partner-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-partner-section .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

.partner-item {
    width: calc(16.666% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    border-radius: 8px;
    padding: 4px 12px;
}

.partner-item img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* 图片预览弹窗 */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-preview-modal.show {
    display: flex;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.preview-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: previewZoom 0.3s ease;
}

@keyframes previewZoom {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 36px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.preview-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 导航栏激活状态 */
.nav-links li a.active {
    color: #00d4ff;
    position: relative;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
}

/* 联系我们页面 */
.contact-page {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    padding: 80px 20px 60px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 8px;
    color: var(--text-primary);
}

.contact-header .subtitle {
    font-size: 18px;
    color: var(--accent-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.contact-header .header-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0066ff);
    margin: 0 auto;
    border-radius: 2px;
}

/* 联系部分通用样式 */
.contact-section {
    padding: 60px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-section .e-title {
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 分隔装饰 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.divider-icon {
    padding: 0 30px;
    color: #00d4ff;
    font-size: 16px;
}

/* 地图区域 */
.map-wrapper {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.map-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.baidu-map {
    flex: 1;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #f3f1ec;
}

.map-info-card {
    flex: 0 0 300px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-card .info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.map-info-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.map-info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.map-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-link:hover {
    transform: translateY(-3px);
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card .card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.address-link {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.address-link:hover {
    color: #00d4ff;
}

/* 在线留言表单 */
.message-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid var(--border-color);
}

.message-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.message-form .form-group {
    display: flex;
    flex-direction: column;
}

.message-form .form-group.full-width {
    margin-bottom: 30px;
}

.message-form label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.message-form input,
.message-form select,
.message-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.message-form input::placeholder,
.message-form textarea::placeholder {
    color: var(--input-placeholder);
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.message-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.message-form select option {
    background: #1a1a2e;
    color: #fff;
}

.message-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.btn-reset {
    padding: 15px 30px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    border-color: #fff;
    color: #fff;
}

/* 响应式 */
@media (max-width: 1200px) {
    /* 横向滚动不需要响应式调整 */
}

@media (max-width: 992px) {
    .intro-content {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .intro-image {
        flex: 0 0 auto;
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 70px;
    }

    .about-header {
        padding: 50px 20px 40px;
    }

    .about-header h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .news-header {
        padding: 50px 20px 40px;
    }

    .news-header h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .about-intro-section,
    .about-timeline-section,
    .about-culture-section,
    .about-honor-section,
    .about-partner-section {
        padding: 40px 20px;
    }

    .intro-text h2,
    .about-timeline-section h2,
    .about-culture-section h2,
    .about-honor-section h2,
    .about-partner-section h2 {
        font-size: 32px;
    }

    .timeline-track {
        padding: 40px 0 40px 20px;
        margin: 0 -20px;
        display: block;
        position: relative;
    }

    .timeline-track::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 30px;
        width: 4px;
        background: linear-gradient(180deg, #00d4ff, #0066ff, #00d4ff, #0066ff);
        z-index: 0;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
        position: relative;
    }

    .timeline-marker {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }

    .marker-dot {
        width: 24px;
        height: 24px;
        background: #00d4ff;
        border-radius: 50%;
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
        margin-right: 15px;
        margin-bottom: 0;
    }

    .marker-dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
    }

    .marker-year {
        font-size: 28px;
        font-weight: 700;
        color: #00d4ff;
        letter-spacing: 2px;
    }

    .timeline-card {
        margin-left: 39px;
        padding: 12px 24px 12px 12px;
    }

    .timeline-wrapper::before {
        display: none;
    }

    .culture-grid {
        gap: 20px;
    }

    .honor-grid,
    .partner-grid {
        gap: 20px;
    }

    .honor-item,
    .partner-item {
        width: calc(33.333% - 20px);
    }

    .honor-item img {
        max-height: 80px;
    }

    .partner-item img {
        max-height: 60px;
    }

    .intro-image {
        height: 250px;
    }
}

/* 页脚 */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 80px 50px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-section p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
}

.footer-column-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s;
    color: var(--text-primary);
}

.social-icon:hover {
    background: var(--accent-primary);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .news-main {
        min-height: 400px;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-container {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        /*width: calc(100vw - 40px);*/
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        transform-origin: top right;
        transform: scale(0.8);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
        z-index: 199;
    }

    .nav-links.active {
        display: flex;
        transform: scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        border-radius: 10px;
        transition: background 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        /*background: rgba(0, 212, 255, 0.15);*/
    }

    .menu-toggle {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 32px;
        letter-spacing: 4px;
        display: none;
    }

    .hero-title-m {
        display: block;
        margin-bottom: 12px;
    }

    .slogan {
        font-size: 22px;
        display: none;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .cases-section,
    .news-section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 联系我们页面响应式 */
@media (max-width: 992px) {
    .map-container {
        flex-direction: column;
    }

    .map-info-card {
        flex: 0 0 auto;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .message-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .contact-section h2 {
        font-size: 32px;
    }

    .map-container {
        flex-direction: column;
    }

    .baidu-map {
        height: 300px;
    }

    .map-info-card {
        flex: 0 0 auto;
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .message-form-wrapper {
        padding: 30px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
}

.toast-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    background: linear-gradient(135deg, #00d4ff, #0066ff);
}

.toast-error {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
}

/* ===== 搜索功能样式 ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-card);
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block !important;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--bg-card);
}

/* 搜索弹窗 */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.search-overlay.show {
    display: block;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
}

.search-panel {
    width: 100%;
    max-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border-accent);
    box-shadow: var(--card-shadow);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 0 50px;
}

.search-overlay.show .search-panel {
    transform: translateY(0);
}

.search-header {
    padding: 30px 0px 20px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--input-focus-border);
    background: rgba(0, 102, 255, 0.08);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.15);
}

.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 18px;
    padding: 18px 0;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--input-placeholder);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-close:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.search-body {
    max-width: 1100px;
    padding: 10px 0px 40px;
    overflow: auto;
    width: 100%;
    margin: 0 auto;
}

.search-body::-webkit-scrollbar {
    width: 4px;
}

.search-body::-webkit-scrollbar-track {
    background: transparent;
}

.search-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.search-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* 热搜标签 */
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hot-tag {
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-tag:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.4);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.hot-tag .hot-rank {
    color: var(--accent-primary);
    font-weight: 700;
    margin-right: 6px;
}

/* 联想搜索 */
.assoc-list {
    display: flex;
    flex-direction: column;
}

.assoc-item {
    padding: 14px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.assoc-item:hover {
    background: rgba(0, 102, 255, 0.12);
    color: var(--accent-primary);
}

.assoc-item .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* 搜索结果 */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    /*background: rgba(255, 255, 255, 0.04);*/
    /*border: 1px solid rgba(255, 255, 255, 0.08);*/
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-item:hover {
    /*background: rgba(0, 212, 255, 0.08);*/
    /*border-color: rgba(0, 212, 255, 0.2);*/
    transform: translateY(-2px);
}

.result-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    align-self: center;
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    opacity: 0.7;
}

.result-type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.result-type-badge.cases {
    background: rgba(0, 102, 255, 0.15);
    color: var(--accent-primary);
}

.result-type-badge.news {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

/* 分页 */
.search-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    color: var(--accent-primary);
}

.page-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 空状态 */
.search-empty {
    text-align: center;
    padding: 60px 20px;
}

.search-empty p {
    color: var(--text-muted);
    font-size: 16px;
}

.search-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* 搜索弹窗响应式 */
@media (max-width: 768px) {
    .search-header {
        padding: 20px 20px 16px;
    }

    .search-panel {
        padding: 0;
    }

    .search-body {
        padding: 10px 20px 30px;
    }

    .search-input {
        font-size: 16px;
    }

    .hot-tags {
        gap: 8px;
    }

    .hot-tag {
        padding: 8px 16px;
        font-size: 13px;
    }

    .result-item {
        gap: 12px;
        padding: 6px 0;
    }

    .result-thumb {
        width: 120px;
        height: 80px;
    }

    .result-info p {
        -webkit-line-clamp: 1;
    }
}

/* 案例详情弹窗 */
.t-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
}

.t-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-overlay);
}

.modal-content {
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-content-scroll {
    overflow-y: auto;
    flex: 1;
}

.modal-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 3px;
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.modal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.modal-header {
    position: relative;
    flex-shrink: 0;
}

.modal-header .modal-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-primary);
    color: #000;
}

.modal-body {
    padding: 40px;
    overflow: visible;
    flex: 1;
}

.modal-body h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.modal-body .modal-summary {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-body .article-content {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 16px;
}

.modal-body .article-content * {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.modal-body .article-content h1,
.modal-body .article-content h2,
.modal-body .article-content h3,
.modal-body .article-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 25px 0 15px;
}

.modal-body .article-content h3 {
    font-size: 20px;
}

.modal-body .article-content p {
    margin-bottom: 15px;
}

.modal-body .article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
}

.modal-body .article-content ul,
.modal-body .article-content ol {
    padding-left: 25px;
    margin: 15px 0;
}

.modal-body .article-content li {
    margin-bottom: 8px;
}

.modal-body .article-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.modal-body .article-content blockquote {
    border-left: 3px solid var(--accent-primary);
    padding-left: 15px;
    margin: 15px 0;
    color: var(--text-tertiary);
}

.modal-body .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.modal-body .article-content table td,
.modal-body .article-content table th {
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    text-align: left;
}

.modal-body .article-content table th {
    background: var(--bg-card);
}

.modal-body .article-content ol,
.modal-body .article-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-body .article-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .modal-header .modal-image {
        height: 250px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-body h2 {
        font-size: 24px;
    }

    .t-modal.show {
        padding: 0;
        align-items: flex-end;
    }

    .t-modal .modal-content {
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        width: 100%;
    }

    .t-modal .modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
