/**
 * ============================================================
 * 访问路径：/static/css/style.css
 * 功能说明：全局自定义样式表
 *   主色调：深蓝 #0a1f44 + 青绿强调 #00b4a0
 *   响应式适配：PC + 移动端
 * ============================================================
 */

/* ==================== CSS变量 ==================== */
:root {
    --primary: #0a1f44;          /* 深蓝主色 */
    --primary-dark: #06142e;     /* 更深蓝 */
    --primary-light: #15306b;    /* 浅蓝 */
    --accent: #00b4a0;           /* 青绿强调色 */
    --accent-hover: #009a8a;     /* 青绿悬停色 */
    --accent-light: #e6f9f7;     /* 青绿浅背景 */
    --white: #ffffff;
    --light-bg: #f5f7fa;         /* 浅灰背景 */
    --text-dark: #1a1a2e;        /* 深色文字 */
    --text-gray: #6c757d;        /* 灰色文字 */
    --text-light: #adb5bd;       /* 浅灰文字 */
    --border-color: #e9ecef;     /* 边框色 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease-out;
    --nav-height: 72px;
}

/* ==================== 全局重置 ==================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Noto Sans CJK SC', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

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

a:hover {
    color: var(--accent);
}

/* ==================== 导航栏 ==================== */
#mainNav {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    backdrop-filter: blur(10px);
    min-height: var(--nav-height);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: all var(--transition);
}

#mainNav .navbar-brand {
    font-size: 1.5rem;
    color: var(--white) !important;
    letter-spacing: 2px;
}

#mainNav .navbar-brand i {
    color: var(--accent);
}

/* 导航栏Logo图片 */
#mainNav .navbar-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

#mainNav .navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
}

#mainNav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.15rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

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

#mainNav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* 语种切换下拉 */
.lang-switcher .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
}

.lang-switcher .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
    color: var(--white);
}

.lang-switcher .dropdown-menu {
    min-width: 140px;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
}

.lang-switcher .dropdown-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* 导航栏占位 */
.nav-placeholder {
    height: var(--nav-height);
}

/* ==================== 按钮样式 ==================== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition);
}

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

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,180,160,0.35);
}

.btn-outline-accent {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,180,160,0.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition);
}

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

/* ==================== 通用区块标题 ==================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 首页Banner ==================== */
.hero-banner {
    background: linear-gradient(135deg, #06142e 0%, #0a1f44 40%, #15306b 70%, #0d2556 100%);
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
}

/* Banner内部容器：flex列布局，让底部文字自动贴底 */
.hero-banner > .container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 背景装饰圆形 */
.hero-banner::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,180,160,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,180,160,0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

/* Banner顶部三段文字 */
.hero-text {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-text .hero-badge {
    display: inline-block;
    background: rgba(0,180,160,0.15);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.hero-text .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-text .hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* 环形产品展示区 */
.hero-products-ring {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 650px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中心大圆产品图（放大：580px，更好展示产品） */
.hero-center-product {
    width: 580px;
    height: 580px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 8px rgba(0,180,160,0.2), 0 10px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.hero-center-product:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 0 12px rgba(0,180,160,0.35), 0 16px 60px rgba(0,0,0,0.4);
}

.hero-center-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 12px;
}

.hero-center-product .center-placeholder {
    font-size: 3rem;
    color: var(--primary);
}

/* 周围6张产品卡片（PC端3左3右布局） */
.hero-side-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-product-card {
    position: absolute;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    pointer-events: auto;
    border: 2px solid rgba(255,255,255,0.5);
}

.hero-product-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 0 4px rgba(0,180,160,0.3), 0 12px 40px rgba(0,0,0,0.25);
    z-index: 5;
    border-color: var(--accent);
}

.hero-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-card .card-placeholder {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

/* 6张卡片位置（PC端）- 环形650px，中心520px，左右双侧大幅外扩 */
/* 使用 margin-top 替代 transform 居中，避免 hover 时 transform 被覆盖导致错位 */
/* 左右卡片对称外扩，中间图框放大 */
.hero-product-card.card-pos-1 { top: 12px; left: -10%; width: 190px; height: 190px; }
.hero-product-card.card-pos-2 { top: 50%; left: -16%; margin-top: -110px; width: 220px; height: 220px; }
.hero-product-card.card-pos-3 { bottom: 12px; left: -10%; width: 190px; height: 190px; }
.hero-product-card.card-pos-4 { top: 12px; right: -10%; width: 190px; height: 190px; }
.hero-product-card.card-pos-5 { top: 50%; right: -16%; margin-top: -110px; width: 220px; height: 220px; }
.hero-product-card.card-pos-6 { bottom: 12px; right: -10%; width: 190px; height: 190px; }

/* Banner底部信息区 */
.hero-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 2rem;
}

.hero-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.hero-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-contact-info .contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================== Why Choose Us 四卡片 ==================== */
.why-choose-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card .why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), rgba(0,180,160,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    transition: all var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==================== Featured Products ==================== */
.featured-section {
    padding: 5rem 0;
    background: var(--white);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-card-link:hover {
    color: inherit;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-card .product-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-card .product-img .hot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card .product-img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    background: linear-gradient(135deg, #e9ecef, #f5f7fa);
}

.product-card .product-info {
    padding: 1.5rem;
}

.product-card .product-info .product-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.product-card .product-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.product-card .product-info .product-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 产品列表页 ==================== */
.products-page {
    padding: 4rem 0;
    min-height: 60vh;
    background: var(--light-bg);
}

.products-filter-bar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.products-grid {
    /* 产品网格容器 */
}

.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-container .page-link {
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin: 0 0.2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.pagination-container .page-link:hover,
.pagination-container .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ==================== 产品详情页 ==================== */
.product-detail-page {
    padding: 4rem 0;
    background: var(--white);
}

/* 产品轮播 */
.product-carousel {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light-bg);
    margin-bottom: 1rem;
}

.product-carousel .carousel-item {
    height: 400px;
    background: var(--light-bg);
}

.product-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-carousel .carousel-item .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-light);
}

/* 缩略图指示器 */
.product-thumbnails {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.product-thumbnails .thumb-item {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    background: var(--light-bg);
}

.product-thumbnails .thumb-item.active,
.product-thumbnails .thumb-item:hover {
    border-color: var(--accent);
}

.product-thumbnails .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails .thumb-item .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* 产品信息区 */
.product-info-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-info-section .hot-label {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.product-info-section .product-brief {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-info-section .product-meta {
    margin-bottom: 1.5rem;
}

.product-info-section .product-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
    color: var(--text-gray);
}

.product-info-section .product-meta .meta-item i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.product-info-section .product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* 产品详情富文本内容 */
.product-content-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-content-wrapper .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.product-content-wrapper .nav-tabs .nav-link {
    color: var(--text-gray);
    font-weight: 600;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    position: relative;
}

.product-content-wrapper .nav-tabs .nav-link.active {
    color: var(--accent);
}

.product-content-wrapper .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.product-content-wrapper .tab-content {
    padding: 1rem 0;
    line-height: 1.8;
    color: var(--text-dark);
}

.product-content-wrapper .tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* ==================== 联系我们页面 ==================== */
.contact-page {
    padding: 4rem 0;
    background: var(--light-bg);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.contact-form-wrapper .form-label .required {
    color: #ff4757;
    margin-left: 3px;
}

.contact-form-wrapper .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition);
    background: var(--light-bg);
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(0,180,160,0.15);
    background: var(--white);
}

.contact-form-wrapper .form-control.is-invalid {
    border-color: #ff4757;
    background-image: none;
}

.contact-form-wrapper .invalid-feedback {
    font-size: 0.82rem;
    color: #ff4757;
    margin-top: 0.3rem;
}

.contact-form-wrapper textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 验证码区域 */
.captcha-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-img {
    height: 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    flex-shrink: 0;
}

.captcha-refresh {
    color: var(--accent);
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    text-decoration: underline;
}

/* 联系信息侧边栏 */
.contact-info-sidebar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    height: 100%;
}

.contact-info-sidebar h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.contact-info-sidebar .info-item .info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-info-sidebar .info-item .info-text h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.contact-info-sidebar .info-item .info-text p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 表单提交成功弹窗 */
.alert-success-custom {
    background: var(--accent-light);
    border: 1px solid var(--accent);
    color: var(--accent-hover);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    font-weight: 500;
}

/* ==================== 关于我们页面 ==================== */
.about-page {
    padding: 4rem 0;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}

.about-section-block {
    margin-bottom: 3rem;
}

.about-section-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.about-section-block p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
}

/* ==================== 资料下载页面 ==================== */
.downloads-page {
    padding: 4rem 0;
    min-height: 60vh;
    background: var(--light-bg);
}

.download-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.download-card .download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-light), rgba(0,180,160,0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.download-card .download-info {
    flex: 1;
}

.download-card .download-info h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.download-card .download-info .file-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.download-card .download-info .file-meta span {
    margin-right: 1rem;
}

.download-card .download-info .file-meta i {
    color: var(--accent);
    margin-right: 0.3rem;
}

/* ==================== 页脚样式 ==================== */
.site-footer {
    background: linear-gradient(135deg, #06142e, #0a1f44);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}

.site-footer .footer-heading {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.site-footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.site-footer .footer-about-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

/* 社交媒体图标 */
.social-icons {
    display: flex;
    gap: 0.6rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* 页脚链接 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-block;
    padding: 0.15rem 0;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--accent);
    font-size: 0.8rem;
    transition: margin var(--transition);
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* 联系信息 */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
}

/* Newsletter */
.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.9rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
    box-shadow: none;
    color: var(--white);
}

.footer-newsletter-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}

/* WeChat 联系人名片 */
.wechat-card-box {
    display: inline-flex;
    padding: 8px;
    background: rgba(255,255,255,0.96);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.wechat-card-img {
    width: 144px;
    height: 144px;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* 页脚分隔线 */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2.5rem 0 1.5rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-bottom-link:hover {
    color: var(--accent);
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb-section {
    background: var(--light-bg);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-section .breadcrumb .breadcrumb-item a {
    color: var(--text-gray);
}

.breadcrumb-section .breadcrumb .breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

/* ==================== 响应式适配 ==================== */

/* 平板端 (<=992px) */
@media (max-width: 992px) {
    .hero-banner {
        min-height: auto;
        padding: 3rem 0 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-center-product {
        width: 180px;
        height: 180px;
    }

    /* 移动端环形改为垂直排列 */
    .hero-products-ring {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        height: auto;
    }

    .hero-side-cards {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 500px;
        margin-top: 1.5rem;
    }

    .hero-product-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
        transform: none !important;
        width: 100%;
        height: 150px;
    }

    .hero-product-card:hover {
        transform: translateY(-6px) scale(1.05) !important;
    }

    .hero-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-contact-info {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .product-carousel .carousel-item {
        height: 300px;
    }
}

/* 手机端 (<=768px) */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-center-product {
        width: 150px;
        height: 150px;
    }

    .hero-product-card {
        height: 120px;
    }

    .hero-side-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .why-card {
        padding: 1.5rem 1rem;
    }

    .why-card .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .product-card .product-img {
        height: 200px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-info-sidebar {
        margin-top: 2rem;
    }

    .product-carousel .carousel-item {
        height: 250px;
    }

    .product-info-section h1 {
        font-size: 1.4rem;
    }

    .about-hero {
        padding: 2rem 1.5rem;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .download-card .download-info .file-meta span {
        display: block;
        margin-right: 0;
        margin-bottom: 0.3rem;
    }

    .site-footer .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .newsletter-form .input-group {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* 小屏手机 (<=576px) */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-center-product {
        width: 130px;
        height: 130px;
    }

    .hero-side-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .hero-product-card {
        height: 105px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .product-thumbnails .thumb-item {
        width: 60px;
        height: 60px;
    }

    .product-info-section .product-actions .btn {
        width: 100%;
    }
}

/* ==================== 手机端全面适配优化 ==================== */

/* ---------- 导航栏手机端优化 (<=992px) ---------- */
@media (max-width: 992px) {
    #mainNav .navbar-brand {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    /* 移动端导航菜单展开时全宽 */
    #mainNav .navbar-collapse {
        padding: 1rem 0;
    }

    /* 语种切换在移动端导航内全宽显示 */
    #mainNav .lang-switcher {
        margin-top: 0.8rem;
        width: 100%;
    }

    #mainNav .lang-switcher .btn-outline-light {
        width: 100%;
        text-align: center;
    }

    #mainNav .lang-switcher .dropdown-menu {
        min-width: 100%;
    }

    /* 导航链接在移动端增大触控区域 */
    #mainNav .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        margin: 0.2rem 0;
    }

    #mainNav .nav-link.active::after {
        display: none;
    }

    /* 导航栏占位高度匹配 */
    .nav-placeholder {
        height: 60px;
    }

    #mainNav {
        min-height: 60px;
    }
}

/* ---------- 产品详情页手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .product-detail-page {
        padding: 1.5rem 0;
    }

    /* 产品轮播图高度 */
    .product-carousel .carousel-item {
        height: 220px;
    }

    .product-carousel .carousel-item img {
        padding: 0.5rem;
    }

    /* 缩略图更小 */
    .product-thumbnails .thumb-item {
        width: 56px;
        height: 56px;
    }

    /* 产品信息区间距收紧 */
    .product-info-section h1 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .product-info-section .product-brief {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .product-info-section .product-meta .meta-item {
        font-size: 0.88rem;
        padding: 0.4rem 0;
        gap: 0.5rem;
    }

    .product-info-section .product-meta .meta-item i {
        width: 18px;
        font-size: 0.85rem;
    }

    /* 操作按钮间距收紧 */
    .product-info-section .product-actions {
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .product-info-section .product-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* 产品详情内容区域 */
    .product-content-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }

    .product-content-wrapper .nav-tabs .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .product-content-wrapper .tab-content {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* 产品详情富文本中的图片不要超出 */
    .product-content-wrapper .tab-content img {
        max-width: 100%;
    }

    /* 产品详情富文本中的表格横向滚动 */
    .product-content-wrapper .tab-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
    }

    /* 相关产品标题 */
    .product-detail-page .mt-5 h3 {
        font-size: 1.2rem;
    }
}

/* ---------- 产品列表页手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .products-page {
        padding: 1rem 0;
    }

    /* 筛选栏紧凑布局 */
    .products-filter-bar {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }

    .products-filter-bar .form-label {
        font-size: 0.82rem;
        margin-bottom: 0.2rem;
    }

    .products-filter-bar .form-select,
    .products-filter-bar .form-control {
        font-size: 0.88rem;
        padding: 0.5rem 0.7rem;
    }

    .products-filter-bar .btn {
        font-size: 0.88rem;
        padding: 0.5rem 0.8rem;
    }

    /* 产品卡片 */
    .product-card .product-img {
        height: 180px;
    }

    .product-card .product-info h5 {
        font-size: 0.95rem;
    }

    .product-card .product-info .product-desc {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-card .product-info .product-category {
        font-size: 0.72rem;
    }

    /* 面包屑 */
    .breadcrumb-section {
        padding: 0.6rem 0;
    }

    .breadcrumb {
        font-size: 0.82rem;
    }
}

/* ---------- 联系页面手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem 0;
    }

    .contact-form-wrapper {
        padding: 1.2rem;
        border-radius: var(--radius-md);
    }

    .contact-form-wrapper .form-label {
        font-size: 0.88rem;
    }

    .contact-form-wrapper .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    /* 验证码区域 */
    .captcha-section {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .captcha-img {
        height: 40px;
    }

    /* 联系信息侧边栏 */
    .contact-info-sidebar {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .contact-info-sidebar h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .contact-info-sidebar .info-item {
        gap: 0.7rem;
        margin-bottom: 1rem;
    }

    .contact-info-sidebar .info-item .info-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .contact-info-sidebar .info-item .info-text h6 {
        font-size: 0.88rem;
    }

    .contact-info-sidebar .info-item .info-text p {
        font-size: 0.82rem;
    }
}

/* ---------- 关于我们页面手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .about-page {
        padding: 1.5rem 0;
    }

    .about-hero {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: var(--radius-md);
    }

    .about-hero h1 {
        font-size: 1.5rem;
    }

    .about-hero p {
        font-size: 0.92rem;
    }

    .about-section-block {
        margin-bottom: 1.5rem;
    }

    .about-section-block h3 {
        font-size: 1.2rem;
    }

    .about-section-block p {
        font-size: 0.9rem;
    }
}

/* ---------- 页脚手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 0 0;
    }

    .site-footer .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.5rem;
        margin-top: 1.5rem;
    }

    /* 第一个页脚列不需要顶部间距 */
    .site-footer .col-12:first-child .footer-heading,
    .site-footer .col-md-6:first-child .footer-heading,
    .site-footer > .container > .row > div:first-child .footer-heading {
        margin-top: 0;
    }

    .site-footer .footer-about-text {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
    }

    .footer-contact li {
        font-size: 0.85rem;
    }
}

/* ---------- 下载页面手机端优化 (<=768px) ---------- */
@media (max-width: 768px) {
    .download-card {
        padding: 1rem;
    }

    .download-card .download-info h5 {
        font-size: 0.95rem;
    }

    .download-card .download-info .file-meta span {
        font-size: 0.78rem;
    }
}

/* ---------- 超小屏手机优化 (<=576px) ---------- */
@media (max-width: 576px) {
    /* 导航栏品牌名称缩小 */
    #mainNav .navbar-brand {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .nav-placeholder {
        height: 56px;
    }

    #mainNav {
        min-height: 56px;
    }

    /* 产品轮播图更小 */
    .product-carousel .carousel-item {
        height: 180px;
    }

    .product-thumbnails .thumb-item {
        width: 48px;
        height: 48px;
    }

    /* 产品信息标题 */
    .product-info-section h1 {
        font-size: 1.15rem;
    }

    /* 操作按钮全宽堆叠 */
    .product-info-section .product-actions {
        flex-direction: column;
    }

    .product-info-section .product-actions .btn {
        width: 100%;
    }

    /* 联系表单按钮全宽 */
    .contact-form-wrapper .btn-primary {
        width: 100%;
    }

    /* 关于我们标题 */
    .about-hero h1 {
        font-size: 1.3rem;
    }

    /* section标题 */
    .section-title h2 {
        font-size: 1.2rem;
    }

    /* 容器左右padding收紧 */
    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    /* 产品卡片间距收紧 */
    .row.g-4 {
        --bs-gutter-x: 0.8rem;
        --bs-gutter-y: 0.8rem;
    }
}

/* ---------- 横屏手机特殊适配 ---------- */
@media (max-width: 896px) and (orientation: landscape) {
    .product-carousel .carousel-item {
        height: 200px;
    }

    /* 导航栏展开菜单最大高度限制+滚动 */
    #mainNav .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}
