/* ============================================
   Software 主题 — 现代 SaaS 软件官网
   色调：参考图片 + 现代排版
   ============================================ */

:root {
    --primary: #1a3c5e;
    --primary-light: #2b6cb0;
    --primary-lighter: #3182ce;
    --primary-bg: #ebf4ff;
    --accent: #e8a838;
    --accent-hover: #d4922a;
    --dark: #0f2137;
    --text-heading: #1a202c;
    --text-body: #4a5568;
    --text-muted: #a0aec0;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 24px rgba(15, 33, 55, 0.08);
    --shadow-hover: 0 12px 40px rgba(15, 33, 55, 0.15);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
    --font: 'Microsoft YaHei', 'PingFang SC', -apple-system, 'Segoe UI', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    transition: var(--transition);
}

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

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

/* === 导航栏 === */
.top-nav-spacer {
    height: 72px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0;
    background: transparent;
    transition: background .4s, box-shadow .4s;
    height: 72px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 12px rgba(15, 33, 55, 0.08);
    backdrop-filter: blur(12px);
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 72px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark) !important;
}

.navbar-brand.brand-text {
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 1.3rem;
    color: #1a3c5e !important;
    -webkit-text-fill-color: unset;
    -webkit-text-stroke: 0.8px #2b6cb0;
    paint-order: stroke fill;
    position: relative;
}

.navbar-brand.brand-text::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e8a838, #2b6cb0, #e8a838);
    border-radius: 2px;
}

.logo {
    height: 36px;
}

.navbar-nav .nav-link {
    /*color: rgba(255, 255, 255, 0.9) !important;*/
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--text-body) !important;
}

.navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
    background: rgba(43, 108, 176, 0.06);
}

.navbar-nav .nav-item.activex .nav-link {
    /*color: var(--white) !important;*/
    font-weight: 600;
}

.navbar.scrolled .navbar-nav .nav-item.activex .nav-link {
    color: var(--primary-light) !important;
}

.navbar-toggler {
    border: none;
    padding: 6px;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpath d='M3 12h18M3 6h18M3 18h18'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a202c' stroke-width='2'%3e%3cpath d='M3 12h18M3 6h18M3 18h18'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px;
    margin-top: 4px;
    box-shadow: var(--shadow-card);
    background: var(--white);
}

.dropdown-item {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-body);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-bg);
    color: var(--primary-light);
}

/* === Hero / 轮播 === */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s ease-in-out;
}

.carousel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 33, 55, 0.88), rgba(26, 60, 94, 0.65));
}

.carousel-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}

.carousel-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    margin: 0;
}

.carousel-indicators li {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicators li.active {
    background: var(--accent);
    width: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: .7;
    transition: var(--transition);
}

.carousel-control-prev {
    left: 24px;
}

.carousel-control-next {
    right: 24px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 1200px) {
    .carousel-inner {
        height: 560px;
    }
}

/* === 通用区块 === */
.home-activity {
    padding: 20px 0;
}

.home-activity img {
    width: 100% !important;
    height: auto !important;
}

.section {
    padding: 80px 0;
}

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

.section-dark {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 12px;
    line-height: 1.3;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* === 功能卡片 === */
.feature-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-bg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(26, 60, 94, 0.2);
}

.feature-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* === 产品卡片 === */
.product-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

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

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

.product-info-index {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 16px;
    background: linear-gradient(to top, rgba(15, 33, 55, 0.92), transparent);
    color: #fff;
}

.product-info-index h4 {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: .75;
    margin: 0 0 4px;
}

.product-info-index p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 20px 14px;
    background: linear-gradient(to top, rgba(15, 33, 55, 0.92), transparent);
    color: #fff;
}

.product-info h5 {
    font-size: 1rem;
    margin: 0 0 4px;
}

.product-info p {
    font-size: 0.8rem;
    margin: 0 0 8px;
    opacity: .85;
}

@media (min-width: 1200px) {
    .product-card img {
        height: 280px;
    }
}

/* === 产品详情 === */
.product-info-detail {
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    height: 100%;
}

.product-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
}

.product-price .price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.4rem;
}

.product-price .price-ask {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-price .price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: 8px;
}

.product-summary {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-light);
}

.product-desc-text {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

.product-desc-text p {
    margin: 0;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

.product-tags .tag-icon {
    font-style: normal;
    color: var(--accent);
    font-size: 0.75rem;
}

.product-action {
    margin-top: 20px;
}

.product-action .btn-primary {
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    box-shadow: 0 4px 14px rgba(232, 168, 56, 0.3);
}

.product-action .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.4);
}

.btn-consult {
    display: inline-block;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(26, 60, 94, 0.25);
    transition: var(--transition);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 94, 0.35);
    color: var(--white);
    text-decoration: none;
}

.product-gallery .main-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--white);
    padding: 20px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 991px) {
    .product-gallery .main-image {
        height: 300px;
    }
}

/* === 分页 === */
.pagination-wrapper {
    margin-top: 32px;
}

.pagination-wrapper .pagination {
    gap: 4px;
}

.pagination-wrapper .page-item .page-link {
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-body);
    font-size: 0.9rem;
    padding: 8px 14px;
    transition: var(--transition);
    background: var(--white);
    line-height: 1;
}

.pagination-wrapper .page-item .page-link:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.pagination-wrapper .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(26, 60, 94, 0.2);
}

.pagination-wrapper .page-item.disabled .page-link {
    color: var(--text-muted);
    background: var(--bg-alt);
    border-color: var(--border);
    opacity: 0.6;
}

.details-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-heading);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.detail-section {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.module-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.module-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.module-item i {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

/* === 页头横幅 === */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 30px;
}

.page-header.has-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header.has-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 33, 55, 0.72), rgba(26, 60, 94, 0.55));
    z-index: 1;
}

.page-header.has-banner .container {
    position: relative;
    z-index: 2;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* === 分类标签 === */
.nav-pills .nav-link {
    color: var(--text-body);
    border-radius: 50px;
    padding: 8px 24px;
    margin: 0 4px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-top: 30px;
}

.nav-pills .nav-link:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.news-list {
    margin-bottom: 15px;
}

/* === 新闻/案例 === */
.news-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.no-news-item {
    justify-content: center;
}

.news-item:hover {
    border-color: var(--primary-bg);
    box-shadow: var(--shadow-hover);
}

.news-image {
    overflow: hidden;
    border-radius: var(--radius-sm);
    max-height: 200px;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.news-content h3 a {
    color: var(--text-heading);
}

.news-content h3 a:hover {
    color: var(--primary-light);
}

.news-meta {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.news-meta span {
    margin-right: 16px;
}

.news-meta i {
    margin-right: 4px;
    color: var(--primary-light);
}

.news-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-align: right;
}

/* === 详情页 === */
.news-detail {
    padding: 60px 0;
    background: var(--bg-alt);
}

.news-content {
    background: var(--white);
    padding: 19px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    min-height: 197px;
}

.news-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    text-align: center;
}

.news-text {
    line-height: 1.8;
}

.news-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-heading);
}

.news-text blockquote {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary-light);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.news-navigation {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.prev-post, .next-post {
    display: block;
    color: var(--primary-light);
    transition: var(--transition);
}

.prev-post:hover, .next-post:hover {
    color: var(--primary);
    text-decoration: none;
}

.prev-post span, .next-post span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.prev-post h6, .next-post h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-heading);
}

/* === 侧边栏 === */
.sidebar-widget {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    margin-top: 12px;
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    color: var(--text-heading);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 6px;
    padding: 6px 0;
    border-bottom: 1px solid var(--bg-alt);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
    padding-left: 14px;
    position: relative;
    display: block;
}

.category-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.category-list li a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.current-li a {
    color: var(--primary-light) !important;
    font-weight: 600;
}

/* === 留言 === */
.messages-page .index-left {
    width: 60%;
    display: inline-block;
    vertical-align: top;
}

.messages-page .index-right {
    width: 38%;
    display: inline-block;
    vertical-align: top;
    margin-left: 2%;
}

.leave-message {
    border: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius);
}

.leave-message h3 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    font-size: 1rem;
    color: var(--text-heading);
}

.leave-message ul {
    padding: 12px 0 0;
    list-style: none;
}

.leave-message li {
    line-height: 30px;
    margin-bottom: 8px;
    color: var(--text-body);
}

.leave-message li textarea {
    vertical-align: top;
    width: 100%;
}

.leave-message li.submit {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    text-align: right;
}

.messages-list .item {
    padding: 12px 0;
    border-bottom: 1px dotted var(--border);
}

.messages-list .item .user {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.messages-list .item .user .u-name {
    float: left;
}

.messages-list .item .user .date-ask {
    float: right;
}

.messages-list .item dl {
    margin-top: 8px;
    overflow: hidden;
}

.messages-list .item .answer {
    color: var(--primary-light);
}

.messages-list .item dt {
    float: left;
    width: 80px;
    font-weight: 600;
}

.messages-list .item dd {
    margin-left: 80px;
}

.messages-list .item .date-answer {
    float: right;
    text-align: right;
    color: var(--text-muted);
    margin-top: 8px;
    font-size: 0.85rem;
}

input, textarea, select {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12);
}

/* === 按钮 === */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 60, 94, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.35);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: 50px;
    padding: 6px 20px;
    transition: var(--transition);
}

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

/* === CTA 区块 === */
.cta-section {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(43, 108, 176, 0.3), transparent 60%);
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* === 关于/公司简介 === */
.about-section img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.about-section h3 {
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 12px;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-btn {
    display: block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

.about-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 60, 94, 0.3);
    text-decoration: none;
}

/* === 页脚 === */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 56px 0 39px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 14px;
    position: relative;
}
.footer a {
    color: #fff !important;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent);
    margin-right: 8px;
    width: 16px;
}

.footer .border-top {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer .mb-0 {
    font-size: 0.85rem;
    opacity: .5;
}

/* === 数字统计 === */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 32px 0;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
}

/* === 响应式 === */
@media (max-width: 991px) {
    .navbar {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
        height: auto;
        min-height: 72px;
    }
    .navbar .container {
        height: 72px;
        position: relative;
    }
    .navbar-collapse {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        z-index: 1030;
        background: var(--white);
        box-shadow: 0 8px 24px rgba(15, 33, 55, 0.1);
        border-top: 1px solid var(--border);
    }
    .navbar-collapse.collapsing {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
    }

    .navbar-brand {
        color: var(--dark) !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a202c' stroke-width='2'%3e%3cpath d='M3 12h18M3 6h18M3 18h18'/%3e%3c/svg%3e") !important;
    }

    /* 移动端菜单 — 全宽通栏 */
    .navbar-nav {
        padding: 8px 0;
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--bg-alt);
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link {
        color: var(--text-body) !important;
        padding: 14px 24px !important;
        font-size: 1rem;
    }
    .navbar-nav .nav-link:active {
        background: var(--bg-alt);
    }
    .navbar-nav .nav-item.activex .nav-link {
        color: var(--primary-light) !important;
        font-weight: 600;
        background: var(--primary-bg);
        border-left: 3px solid var(--primary-light);
        padding-left: 21px !important;
    }
    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
        transition: transform .25s ease;
    }
    .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 12px;
        margin: 0;
        border-radius: 0;
    }
    .dropdown-item {
        padding: 12px 24px 12px 40px;
        font-size: 0.9rem;
        border-radius: 0;
        color: var(--text-body);
    }
    .dropdown-item:active,
    .dropdown-item:hover {
        background: transparent;
        color: var(--primary-light);
    }

    .section {
        padding: 56px 0;
    }

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

    .carousel-inner {
        height: 320px;
    }

    .sidebar-widget {
        margin-top: 20px;
    }

    .messages-page .index-left,
    .messages-page .index-right {
        width: 100%;
        margin-left: 0;
    }

    .stats-row {
        gap: 24px;
    }

    .stat-num {
        font-size: 2rem;
    }

    .navbar-brand.brand-text {
        margin-left: 15px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 44px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .carousel-inner {
        height: 240px;
    }

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

    .news-title {
        font-size: 1.3rem;
    }

    .news-meta span {
        display: inline;
        margin-right: 12px;
    }

    .read-more {
        display: block;
        text-align: right;
    }

    .about-btn {
        display: block;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
    }

    .stat-num {
        font-size: 1.6rem;
    }
    .navbar-brand.brand-text {
        margin-left: 15px;
    }
}

.list-group-item {
    border: 0px !important;
}

.single-page {
    margin-top: -39px;
}

.single-page .sidebar-widget {
    margin-top: 0px !important;
}

/* === 浮动联系方式 === */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 18%;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.float-contact-item {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    color: var(--primary);
    font-size: 1.15rem;
    text-decoration: none;
    pointer-events: auto;
}

/* 透明桥接区域：让鼠标能从图标移到气泡 */
.float-contact-item::before {
    content: '';
    position: absolute;
    right: 100%;
    top: -10px;
    width: 80px;
    height: calc(100% + 20px);
    z-index: 1;
}

.float-contact-item:hover {
    background: #e8a838;
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(232, 168, 56, 0.35);
}

.float-contact-item:hover .float-tip,
.float-tip:hover {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
    pointer-events: auto;
}

.float-tip {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateX(12px) translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 14px 18px;
    white-space: nowrap;
    font-size: 0.88rem;
    color: var(--text-body);
}

.float-tip::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-left-color: var(--white);
}

.float-tip strong {
    color: var(--primary);
    font-size: 1rem;
}

.float-tip img {
    width: 120px !important;
    height: 120px !important;
    max-width: none !important;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.float-tip-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

.float-contact-top:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

@media (max-width: 767px) {
    .float-contact {
        right: 10px;
        bottom: 14%;
        gap: 6px;
    }
    .float-contact-item {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .float-contact-item::before {
        display: none;
    }
    .float-tip {
        right: 56px;
        left: auto;
        padding: 12px 16px;
        font-size: 0.85rem;
        max-width: calc(100vw - 80px);
        white-space: nowrap;
    }
    .float-tip img {
        width: 90px !important;
        height: 90px !important;
    }
    .float-contact-item:hover .float-tip,
    .float-tip:hover {
        transform: translateX(0) translateY(-50%);
    }
}

/* 复制成功提示 */
.float-copy-toast {
    position: fixed;
    background: rgba(26, 60, 94, 0.92);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: all .35s ease;
    z-index: 9999;
    white-space: nowrap;
    transform: translateY(8px);
}

.float-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}
