/* ========================================
   XX生物科技有限公司 - 主样式表
   ======================================== */

/* ---------- CSS 变量 ---------- */
:root {
    --primary: #1a73e8;
    --primary-dark: #1558b0;
    --primary-light: #e8f0fe;
    --secondary: #00897b;
    --secondary-dark: #00695c;
    --accent: #7c4dff;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-light: #7a7a8a;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-section: #f0f4f8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(26, 115, 232, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- 全局重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---------- 头部导航 ---------- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand.logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.navbar-brand.logo:hover img {
    transform: scale(1.05);
}

.main-menu .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 1.25rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.main-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
    width: 60%;
}

.main-menu .nav-link:hover,
.main-menu .nav-link.active {
    color: var(--primary) !important;
}

.main-menu .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease;
}

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

.main-menu .dropdown-item {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    color: var(--text-body);
    transition: var(--transition);
}

.main-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 1.8rem;
}

/* ---------- 轮播图区域 ---------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-slider .owl-stage-outer {
    height: 100%;
}

.hero-slider .owl-stage {
    height: 100%;
}

.hero-slider .owl-item {
    height: 100%;
}

.single-slider {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.single-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.75) 0%, rgba(0, 137, 123, 0.65) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 1200px;
    padding-top: 50px;
}

.slider-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* 轮播导航按钮 */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.hero-slider .owl-prev,
.hero-slider .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-slider .owl-prev {
    left: 30px;
}

.hero-slider .owl-next {
    right: 30px;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: #fff;
}

.hero-slider .owl-prev span,
.hero-slider .owl-next span {
    font-size: 1.5rem;
    color: #fff;
}

/* 轮播圆点 */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: var(--transition);
}

.hero-slider .owl-dot.active span {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* ---------- 通用按钮 ---------- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 2px solid #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 115, 232, 0.4);
    color: #fff;
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid #fff;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary);
}

.btn-secondary-custom {
    background: var(--secondary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
}

.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 137, 123, 0.4);
    color: #fff;
}

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

.block-title-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.block-title-text-last {
    color: var(--primary);
    font-size: inherit;
    font-weight: inherit;
}

.block-title span:last-child {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ---------- 服务区域 ---------- */
.service-area {
    padding: 80px 0;
    background: var(--bg-section);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card .card-img {
    height: 220px;
    overflow: hidden;
}

.service-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.service-card .card-text {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-card ul {
    padding-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 0.4rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* ---------- 产品中心区域 ---------- */
.product-area {
    padding: 80px 0;
    background: var(--bg-section);
}

.categories-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.categories-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.categories-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.categories-img:hover img {
    transform: scale(1.05);
}

.categories-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.categories-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

/* ---------- 关于我们区域 ---------- */
.about-area {
    padding: 80px 0;
    background: var(--bg-section);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.9;
}

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

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ---------- 新闻与促销区域 ---------- */
.news-promo-area {
    padding: 80px 0;
    background: var(--bg-section);
}

.news-list,
.promo-list {
    margin-top: 1rem;
}

.news-item,
.promo-item {
    padding: 1rem 1.2rem;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.promo-item {
    border-left-color: var(--secondary);
}

.news-item:hover,
.promo-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.news-title a,
.promo-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.news-title a:hover,
.promo-title a:hover {
    color: var(--primary);
}

.news-date,
.promo-date {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ---------- 页面横幅 (子页面) ---------- */
.page-banner {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.8) 0%, rgba(0, 137, 123, 0.7) 100%);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.page-banner-content .breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.page-banner-content .breadcrumb-item,
.page-banner-content .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
}

.page-banner-content .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

.page-banner-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- 服务详情页 ---------- */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.service-detail-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-detail-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-detail-card p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail-card ul {
    padding-left: 0;
    margin-bottom: 1rem;
}

.service-detail-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-body);
}

.service-detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.service-detail-card .service-img {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 1.5rem;
}

.service-detail-card .service-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* ---------- 产品详情页 ---------- */
.product-section {
    padding: 80px 0;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-card .product-img {
    height: 220px;
    overflow: hidden;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.product-card .product-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-card .product-info p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.product-card .product-info .product-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ---------- 关于我们页 ---------- */
.about-section {
    padding: 80px 0;
}

.about-intro {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.about-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.about-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.about-feature .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.about-feature h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.about-feature p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
}

.about-timeline {
    position: relative;
    padding: 2rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 2.5rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ---------- 联系我们页 ---------- */
.contact-section {
    padding: 80px 0;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-info-card .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    margin: 0;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

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

/* ---------- 新闻/促销列表页 ---------- */
.news-section,
.promo-section {
    padding: 80px 0;
}

.news-card,
.promo-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.news-card:hover,
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-card .card-img-top,
.promo-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .card-img-top,
.promo-card:hover .card-img-top {
    transform: scale(1.03);
}

.news-card .card-body,
.promo-card .card-body {
    padding: 1.5rem;
}

.news-card .card-body h3,
.promo-card .card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.news-card .card-body h3 a,
.promo-card .card-body h3 a {
    color: var(--text-dark);
}

.news-card .card-body h3 a:hover,
.promo-card .card-body h3 a:hover {
    color: var(--primary);
}

.news-card .card-body p,
.promo-card .card-body p {
    font-size:1.1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-card .card-meta,
.promo-card .card-meta {
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---------- 新闻/促销详情页 ---------- */
.article-section {
    padding: 80px 0;
}

.article-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-content .article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-content .article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.article-content .article-meta {
    font-size: 1.1rem;
    color: var(--text-light);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-content .article-body {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 2;
}

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

.article-content .article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.article-content .article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0 0.8rem;
}

.article-content .article-body img {
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    width: 100%;
}

.article-content .article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-dark);
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul li {
    margin-bottom: 0.6rem;
}

.sidebar-widget ul li a {
    font-size:1.1rem;
    color: var(--text-body);
    display: block;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.sidebar-widget ul li a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* ---------- 下载中心页 ---------- */
.download-section {
    padding: 80px 0;
}

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

.download-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.download-card .download-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

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

.download-card .download-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.download-card .download-info p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
}

.download-card .btn-download {
    flex-shrink: 0;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

/* ---------- 促销活动页 ---------- */
.promo-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: center;
}

.promo-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* ---------- 页脚 ---------- */
footer {
    background: #1a1b1e;
    color: #bbb;
    padding: 70px 0 0;
}

.footer-widget {
    margin-bottom:0rem ;
}

.footer-widget .logoX img {
    height:75px;
    margin-bottom: 0rem;
}

.footer-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-contact ul li {
    margin-bottom: 0rem;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 0.3rem;
    width: 20px;
    text-align: center;
}

.footer-widget ul li {
    margin-bottom: 1rem;
}

.footer-widget ul li a {
    color: #bbb;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 0rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-menu ul li a {
    color: #bbb;
    font-size: 1rem;
}

.footer-menu ul li a:hover {
    color: var(--primary);
}

.copyright p {
    font-size: 1.00rem;
    color: #bbb;
    text-align: center;
    margin: 0;
}

.copyright a {
    color: #bbb;
}

.copyright a:hover {
    color: var(--primary);
}

/* ---------- 数据统计区域 ---------- */
.stats-area {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* ---------- CTA 区域 ---------- */
.cta-area {
    padding: 80px 0;
    background: var(--bg-section);
    text-align: center;
}

.cta-area h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-area p {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    cursor: pointer;
    border: none;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .hero-slider,
    .single-slider {
        height: 450px;
    }

    .slider-content h1 {
        font-size: 2rem;
    }

    .slider-content p {
        font-size: 1rem;
    }

    .page-banner {
        height: 280px;
        margin-top: 60px;
    }

    .page-banner-content h1 {
        font-size: 2rem;
    }

    .about-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    .article-content {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .single-slider {
        height: 380px;
    }

    .slider-content h1 {
        font-size: 1.6rem;
    }

    .slider-content p {
        font-size:1rem;
    }

    .block-title-text {
        font-size: 1.6rem;
    }

    .block-title span:last-child {
        font-size: 1rem;
    }

    .service-area,
    .product-area,
    .about-area,
    .news-promo-area,
    .service-detail-section,
    .product-section,
    .about-section,
    .contact-section,
    .news-section,
    .promo-section,
    .article-section,
    .download-section {
        padding: 50px 0;
    }

    .page-banner {
        height: 220px;
    }

    .page-banner-content h1 {
        font-size: 1.6rem;
    }

    .about-intro {
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content .article-header h1 {
        font-size: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .footer-menu ul {
        justify-content: center;
    }

    .hero-slider .owl-prev {
        left: 10px;
    }

    .hero-slider .owl-next {
        right: 10px;
    }

    .hero-slider .owl-prev,
    .hero-slider .owl-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .single-slider {
        height: 320px;
    }

    .slider-content h1 {
        font-size: 1.3rem;
    }

    .btn-primary-custom {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .categories-img img {
        height: 180px;
    }
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ---------- 辅助类 ---------- */
.section-padding {
    padding: 80px 0;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.bg-light-custom {
    background: var(--bg-section);
}

.mb-section {
    margin-bottom: 3rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

