/* JACAN 捷罡智能装备 - 自定义样式 v2.0 */

/* ============================================
   设计系统 v2.0 - 现代工业科技风格
   ============================================ */

/* 引入 Inter 字体（英文/数字） */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* 设计 Token 系统 */
:root {
    /* 主色调 - 科技蓝系 */
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-500: #3b82f6;
    --primary-900: #1e3a8a;

    /* 强调色 - 工业青色 */
    --accent: #0891b2;
    --accent-light: #22d3ee;
    --accent-dark: #0e7490;

    /* 中性色系 */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* 语义色 */
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --info: #0891b2;

    /* 7级字号系统 */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */

    /* 字重 */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* 行高 */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* 间距系统（基于 4px） */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */

    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* 过渡动画 */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* 圆角 */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-full: 9999px;
}

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

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: var(--leading-relaxed);
    color: var(--neutral-700);
    overflow-x: hidden;
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 文字排版类 */
.text-display {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: -0.025em;
}

.text-h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

.text-h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

.text-h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-normal);
}

.text-h4 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-normal);
}

.text-body-lg {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.text-body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.text-small {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

.text-xs {
    font-size: var(--text-xs);
    line-height: var(--leading-normal);
}

/* ============================================
   导航栏 v2.0
   ============================================ */
.navbar {
    box-shadow: var(--shadow-md);
    padding: var(--space-4) 0;
    background: var(--primary) !important;
    transition: all var(--transition-normal);
    z-index: 1030;
}

.navbar.navbar-scrolled {
    padding: var(--space-2) 0;
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
}

.navbar-brand {
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: white !important;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.navbar-brand:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: all var(--transition-fast);
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-brand .brand-name {
    font-size: var(--text-xl);
    font-weight: var(--font-extrabold);
    letter-spacing: 0.05em;
}

.navbar-brand .brand-subtitle {
    font-size: var(--text-xs);
    font-weight: var(--font-normal);
    opacity: 0.85;
    letter-spacing: 0.1em;
}

/* 桌面端导航栏横排 */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        gap: var(--space-1);
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

/* 移动端菜单按钮 */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: var(--space-2) var(--space-3);
    transition: all var(--transition-fast);
}

.navbar-toggler:hover {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: var(--font-medium);
    padding: var(--space-2) var(--space-4) !important;
    transition: all var(--transition-fast);
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: var(--text-sm);
    position: relative;
    border-radius: var(--radius-sm);
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:not(.dropdown-toggle):hover::after,
.nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   轮播 Banner v2.0 - 支持文字叠加
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

#heroCarousel {
    margin-top: 0;
}

#heroCarousel .carousel-inner {
    max-height: 600px;
}

#heroCarousel .carousel-item {
    position: relative;
    height: 600px;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#heroCarousel .carousel-item.active img {
    transform: scale(1.05);
}

/* 轮播文字叠加层 */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.75) 0%, rgba(8, 145, 178, 0.45) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel-content {
    max-width: 700px;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.carousel-content .badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-4);
    background: var(--accent) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-content h2 {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content .btn {
    padding: var(--space-3) var(--space-8);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.carousel-content .btn-light {
    background: white;
    color: var(--primary);
    border: none;
}

.carousel-content .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--neutral-50);
}

.carousel-content .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.carousel-content .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* 轮播控制按钮 */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 3;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    background-size: 50%;
    transition: all var(--transition-fast);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

/* 轮播指示器 */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 var(--space-2);
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.carousel-indicators button.active {
    background-color: var(--accent-light);
    transform: scale(1.2);
    border-color: white;
}

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

/* ============================================
   主标题区 v2.0
   ============================================ */
.hero-tagline {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero-tagline h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

.hero-tagline p {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.hero-tagline .badge {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
    margin: var(--space-1);
    transition: all var(--transition-fast);
}

.hero-tagline .badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Section 标题 v2.0
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-weight: var(--font-bold);
    color: var(--neutral-800);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.section-title p {
    color: var(--neutral-500);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.section-title:hover::after {
    width: 100px;
}

/* ============================================
   卡片系统 v2.0
   ============================================ */
.product-card,
.case-card,
.solution-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    background: white;
}

.product-card.animate-in,
.case-card.animate-in,
.solution-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover,
.case-card:hover,
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card .card-img-top,
.case-card .card-img-top,
.solution-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-img-top,
.case-card:hover .card-img-top,
.solution-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body,
.case-card .card-body,
.solution-card .card-body {
    padding: var(--space-6);
    position: relative;
    z-index: 2;
}

.product-card h5,
.case-card h5,
.solution-card h5 {
    color: var(--neutral-800);
    font-weight: var(--font-semibold);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.product-card h5 .icon,
.case-card h5 .icon,
.solution-card h5 .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-right: var(--space-2);
    font-size: var(--text-lg);
}

/* ============================================
   数字统计 v2.0
   ============================================ */
.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: linear-gradient(135deg, #ffffff 0%, var(--neutral-50) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid var(--neutral-200);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.stat-number {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--primary);
    display: block;
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--leading-tight);
}

.stat-label {
    color: var(--neutral-500);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
}

/* ============================================
   按钮系统 v2.0
   ============================================ */
.btn {
    transition: all var(--transition-normal);
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: var(--space-3) var(--space-8);
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    color: white;
    padding: var(--space-3) var(--space-8);
    font-weight: var(--font-semibold);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: var(--space-2) var(--space-6);
    font-weight: var(--font-medium);
}

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

/* ============================================
   Feature 图标 v2.0
   ============================================ */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-50), var(--neutral-100));
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--transition-normal);
    font-size: var(--text-3xl);
    color: var(--primary);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.3);
}

.feature-item h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-800);
    margin-bottom: var(--space-3);
}

.feature-item p {
    color: var(--neutral-500);
    line-height: var(--leading-relaxed);
}

/* ============================================
   Footer v2.0
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

footer h5 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
    color: white;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

footer a:hover {
    color: var(--accent-light);
    padding-left: var(--space-2);
}

footer .list-unstyled li {
    margin-bottom: var(--space-2);
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: var(--text-sm);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: var(--space-8) 0;
}

/* ============================================
   合作企业 LOGO 展示 v2.0
   ============================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

.partner-item {
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    height: 100px;
    box-sizing: border-box;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.05), transparent);
    transition: left 0.5s ease;
}

.partner-item:hover::before {
    left: 100%;
}

.partner-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--primary-100);
}

.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: filter var(--transition-normal);
    max-width: 120px;
    max-height: 60px;
}

.partner-item-tight {
    overflow: hidden;
}
.partner-item-tight img {
    max-width: 180px;
    max-height: 90px;
    transform: scale(1.15);
    transform-origin: center;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3);
    }
    .partner-item {
        height: 80px;
        padding: var(--space-3);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   表格样式 v2.0
   ============================================ */
.table-jacan {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-jacan th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-4);
    text-align: left;
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-jacan td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--neutral-200);
    transition: background-color var(--transition-fast);
    font-size: var(--text-sm);
}

.table-jacan tr:hover {
    background: var(--neutral-50);
}

.table-jacan tr:last-child td {
    border-bottom: none;
}

/* ============================================
   下拉菜单 v2.0
   ============================================ */
.dropdown-menu.dropdown-menu-dark {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.dropdown-menu-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu.dropdown-menu-dark .dropdown-item:focus {
    background: rgba(8, 145, 178, 0.2);
    color: var(--accent-light);
    padding-left: var(--space-5);
}

.dropdown-menu.dropdown-menu-dark .dropdown-item.active {
    background: var(--accent);
    color: white;
}

.dropdown-menu.dropdown-menu-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: var(--space-2) 0;
}

/* 产品中心导航项带下拉箭头特殊样式 */
.nav-item.dropdown .nav-link.dropdown-toggle::after {
    margin-left: var(--space-2);
    vertical-align: 0.15em;
    border-width: 0.3em;
}

/* ============================================
   信任标识栏
   ============================================ */
.trust-bar {
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-4) 0;
}

.trust-bar .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--neutral-600);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.trust-bar .trust-item .icon {
    width: 32px;
    height: 32px;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: var(--text-base);
}

/* ============================================
   "为什么选择我们" 数据展示
   ============================================ */
.why-choose-us {
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    padding: var(--space-16) 0;
}

.why-choose-card {
    text-align: center;
    padding: var(--space-6);
    transition: all var(--transition-normal);
}

.why-choose-card .number {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--primary);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-2);
}

.why-choose-card .number .plus {
    font-size: var(--text-3xl);
    color: var(--accent);
}

.why-choose-card .label {
    color: var(--neutral-600);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
}

/* ============================================
   滚动条美化
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   页面渐入效果
   ============================================ */
.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* ============================================
   响应式调整
   ============================================ */
@media (max-width: 768px) {
    .hero-tagline h1 {
        font-size: var(--text-3xl);
    }

    .hero-tagline p {
        font-size: var(--text-base);
    }

    .carousel-content h2 {
        font-size: var(--text-3xl);
    }

    .carousel-content p {
        font-size: var(--text-base);
    }

    #heroCarousel .carousel-item {
        height: 400px;
    }

    .section-title h2 {
        font-size: var(--text-3xl);
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.7;
        width: 8%;
    }

    .display-4 {
        font-size: var(--text-4xl);
    }

    .lead {
        font-size: var(--text-lg);
    }
}

@media (max-width: 480px) {
    #heroCarousel .carousel-item {
        height: 300px;
    }

    .hero-tagline {
        padding: var(--space-10) 0;
    }
}

/* ============================================
   下拉菜单悬停修复
   ============================================ */
.dropdown-menu:hover {
    display: block !important;
}

.nav-link.dropdown-toggle {
    pointer-events: auto;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu {
    margin-top: 0 !important;
    pointer-events: auto;
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: none;
    }

    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu:hover {
        display: block;
    }
}

/* ============================================
   中文正文段落首行缩进
   ============================================ */

/* 无障碍访问 - 焦点样式 */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 跳转到主内容链接（无障碍） */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    z-index: 10000;
    text-decoration: none;
    font-weight: var(--font-semibold);
}

.skip-link:focus {
    top: 0;
}

/* 确保文字与背景对比度足够 */
.text-muted {
    color: var(--neutral-600) !important; /* 提高对比度 */
}
.article-body p {
    text-indent: 2em;
}

.col-md-6 > p.fs-5.lh-lg,
p.fs-5.lh-lg.mb-4 {
    text-indent: 2em;
}

.about-text p.text-muted.fs-5 {
    text-indent: 2em;
}

.news-card p.text-muted {
    text-indent: 2em;
}

ul.list-unstyled > li {
    text-indent: 2em;
}

.col-md-6 [style*="line-height"] > p {
    text-indent: 2em;
}

/* ============================================
   导航栏下拉菜单 - 悬停显示优化
   ============================================ */

/* 桌面端悬停显示下拉菜单 */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu,
    .navbar .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
        margin-top: 0;
        animation: fadeIn 0.2s ease-in-out;
    }
    
    /* 点击主链接时不阻止跳转，保持跳转功能 */
    .navbar .nav-item.dropdown .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }
}

/* 下拉菜单淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下拉箭头图标样式 */
.navbar .nav-item.dropdown .dropdown-toggle {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.25em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1em;
    cursor: pointer;
    pointer-events: auto;
}

/* 悬停时下拉箭头颜色变化 */
.navbar .nav-item.dropdown:hover .dropdown-toggle {
    opacity: 0.8;
}

.card > p.text-muted,
.card p.text-muted.mb-4,
.card-body > p.text-muted,
.card-body p.text-muted.mb-4,
.text-center > .card p.text-muted {
    text-indent: 0 !important;
}

p.fs-5.lh-lg:not(.mb-0) {
    text-indent: 2em;
}

.col-lg-6 > p.text-muted.mb-3,
.col-lg-6 > p.text-muted:not(.mb-1):not(.mb-0):not(.small):not(.fs-6):not(.mb-4) {
    text-indent: 2em;
}

/* ============================================
   发展历程时间线
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-8);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-out;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:hover::before {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-year {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--primary);
    margin-bottom: var(--space-2);
    line-height: var(--leading-tight);
}

.timeline-content {
    background: white;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.timeline-content h5 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-800);
    margin-bottom: var(--space-2);
}

.timeline-content p {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    line-height: var(--leading-relaxed);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -26px;
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   发展历程时间线 - 新版样式（悬停漂浮效果）
   ============================================ */

/* 时间轴容器 */
.timeline-row {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

/* 简化版悬停效果 */

/* 年份标签悬停漂浮效果 */
.timeline-row:hover > div:first-child span {
    transform: translateY(-3px);
}

/* 卡片悬停效果 - 向右滑入 + 阴影加深 */
.timeline-row:hover .card {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* 卡片边框左侧高亮 */
.timeline-row:hover .card {
    border-left-color: var(--primary) !important;
}

/* 2008起点年份的特殊悬停效果 */
.timeline-row:last-child:hover > div:first-child span {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(73, 80, 87, 0.5) !important;
}


/* ============================================
   回到顶部按钮
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1040;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
