/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --secondary-color: #00a8e8;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans SC', 'Noto Sans JP', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .logo img {
        height: 65px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 搜索功能 */
.header-search {
    position: relative;
    margin-left: 20px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: rgba(0, 102, 204, 0.1);
}

.search-box {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 12px;
    z-index: 1002;
    animation: fadeInDown 0.2s ease;
}

.search-box.active {
    display: block;
}

.search-box input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--primary-color);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
}

.search-result-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-result-item:hover {
    background: #f0f7ff;
}

.search-result-item .result-icon {
    font-size: 18px;
}

.search-result-item .result-info {
    flex: 1;
}

.search-result-item .result-title {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.search-result-item .result-category {
    font-size: 11px;
    color: #888;
}

.search-result-item .result-model {
    font-size: 12px;
    color: #0B3D91;
    font-family: monospace;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.search-group-title {
    padding: 6px 12px;
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 40%, #0D9488 100%);
    color: var(--white);
    padding: 180px 20px 120px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* 背景网格线条 */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* 背景光效 */
.hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(13,148,136,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

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

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

/* 表单提交反馈 */
.form-feedback {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
}
.form-feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.form-feedback.loading {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* 提交按钮加载状态 */
#submitBtn.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}
#submitBtn.is-loading::after {
    content: ' ...';
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 通用区块样式 */
.section {
    padding: 80px 20px;
}

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

.section-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-primary .section-title::after {
    background: var(--white);
}

/* 关于我们预览 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--shadow);
}

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

/* 产品卡片 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 解决方案卡片 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.solution-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA 区域 */
.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 访客统计样式 */
.visitor-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
}

.visitor-stats-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.visitor-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.visitor-stat-item span:first-child {
    opacity: 0.8;
}

.visitor-stat-item span:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    min-width: 30px;
    display: inline-block;
}

@media (max-width: 480px) {
    .visitor-stats {
        gap: 12px;
        font-size: 11px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-search {
        margin-left: auto;
        margin-right: 15px;
    }

    .search-box {
        right: -60px;
        width: 300px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* 语言切换按钮（桌面端基础样式） */
.language-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 10000;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn {
    padding: 6px 14px;
    font-size: 13px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(0, 102, 204, 0.1);
    color: #0066CC;
}

.lang-btn.active {
    background: #0066CC;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* 页面内导航 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 150px 20px 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* 内容区块 */
.content-section {
    padding: 80px 20px;
}

.content-block {
    max-width: 900px;
    margin: 0 auto 50px;
}

.content-block h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.content-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 新闻列表 */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-hover);
}

.news-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.news-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.news-item p {
    color: var(--text-light);
}

/* 联系表单 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* 公司信息卡片 */
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 产品详情页样式 */
.product-detail {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-detail:hover {
    box-shadow: var(--shadow-hover);
}

.product-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-detail-icon {
    font-size: 48px;
}

.product-detail-header h2 {
    font-size: 28px;
    margin: 0;
}

.product-detail-content {
    padding: 30px;
}

.product-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.product-features {
    list-style: none;
    margin-top: 20px;
}

.product-features li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
    border-bottom: none;
}

/* 解决方案详情页样式 */
.solution-detail {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
}

.solution-detail-header {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
}

.solution-detail-icon {
    font-size: 48px;
}

.solution-detail-header h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
}

.solution-detail-content {
    padding: 30px;
}

.solution-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.solution-features,
.solution-applications {
    margin-top: 25px;
}

.solution-features h3,
.solution-applications h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.solution-features ul {
    list-style: none;
}

.solution-features ul li {
    padding: 8px 0;
    color: var(--text-light);
    padding-left: 25px;
    position: relative;
}

.solution-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
}

/* 联系页面样式 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow);
}

.contact-item-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.contact-item-content h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 30px;
}

.map-content {
    text-align: center;
}

.map-content span {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 新闻页面样式 */
.news-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 25px;
    right: -8px;
    z-index: 1;
}

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

.timeline-year {
    position: absolute;
    left: -80px;
    top: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: auto;
    right: -80px;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 350px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-year {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }
    
    .timeline-item::after {
        left: 22px;
        right: auto;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 22px;
    }
    
    .product-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-detail-header {
        flex-direction: column;
        text-align: center;
    }
}

/* 千住品牌展示样式 */
.senju-brand {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* ===== 新增：首页 Hero 增强 ===== */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    padding: 14px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: rgba(255,255,255,0.9);
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

/* ===== 新增：关于我们优势列表 ===== */
.about-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.adv-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* ===== 新增：为什么选择我们 ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.why-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.why-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.why-item h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 新增：解决方案卡片图标和链接 ===== */
.solution-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

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

.solution-card-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.solution-card h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.solution-link,
.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.solution-link:hover,
.product-link:hover {
    color: var(--primary-dark);
}

/* ===== 新增：产品子分类网格 ===== */
.product-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.product-sub-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.product-sub-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.product-sub-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ===== 新增：产品详情 h3 样式 ===== */
.product-detail-content h3 {
    color: var(--text-color);
    font-size: 17px;
    margin: 24px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--bg-light);
}

/* ===== 响应式补充 ===== */
@media (max-width: 768px) {
    .about-advantages {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .product-sub-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.brand-info {
    margin-top: 40px;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* 品牌亮点样式 */
.brand-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.highlight-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 服务承诺样式 */
.service-promise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promise-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.promise-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.promise-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.promise-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 表单选择框样式 */
select {
    background: var(--white);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== 新增：Hero区品牌背书标注 ===== */
.hero-brand-note {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 20px;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

/* ===== 新增：浮动询价按钮 ===== */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,102,204,0.4);
    transition: all 0.3s ease;
    font-size: 11px;
    gap: 2px;
}

.float-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,102,204,0.5);
}

.float-btn-phone {
    background: #00b359;
    box-shadow: 0 4px 16px rgba(0,179,89,0.4);
}

.float-btn-phone:hover {
    background: #009948;
    box-shadow: 0 6px 20px rgba(0,179,89,0.5);
}

.float-icon {
    font-size: 20px;
    line-height: 1;
}

.float-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== 新增：数字化卖点样式 ===== */
.why-stat {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

/* ===== 新增：技术文章标签颜色 ===== */
.news-tag-tech {
    display: inline-block;
    background: #f0e8ff;
    color: #6600cc;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .float-contact {
        right: 12px;
        bottom: 60px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
    }
}

/* ===== 下载页面样式（downloads.html）===== */
.download-category {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.download-category-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 600;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 25px 30px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.download-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.download-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 4px;
    font-weight: 600;
}

.download-info p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.download-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

/* ===== SEO & 增强样式 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.visually-hidden {
    position: absolute;
    clip: rect(0,0,0,0);
    overflow: hidden;
    width: 1px;
    height: 1px;
}

/* 导航激活状态 */
.nav-menu a.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* 产品分类导航条 */
.product-nav a.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 页面淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 品牌徽章 */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.brand-badge span {
    font-size: 14px;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .download-item {
        flex-wrap: wrap;
    }
    .download-btn {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* ===== 漂浮广告窗口样式 ===== */
.floating-ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.floating-ad-overlay.hide {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-ad-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 3px solid #d4a000;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.floating-ad-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #d4a000;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.floating-ad-close:hover {
    background: #b8860b;
    transform: scale(1.1);
}

.floating-ad-title {
    background: linear-gradient(135deg, #d4a000, #ff8c00);
    color: white;
    padding: 12px 20px;
    margin: -28px -32px 24px -32px;
    border-radius: 13px 13px 0 0;
    text-align: center;
}

.floating-ad-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.floating-ad-content {
    color: #5d4037;
    font-size: 15px;
    line-height: 1.8;
}

.floating-ad-content p {
    margin: 0 0 12px 0;
}

.floating-ad-content .highlight {
    color: #c62828;
    font-weight: 700;
}

.floating-ad-content .phone {
    display: inline-block;
    background: #d4a000;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 8px;
}

.floating-ad-footer {
    margin-top: 20px;
    text-align: center;
}

.floating-ad-btn {
    background: linear-gradient(135deg, #d4a000, #ff8c00);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.floating-ad-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212,160,0,0.4);
}


/* =====================================================================
   WSM 网站搜索功能样式
   ===================================================================== */

/* 搜索框容器展开动画 */
.search-box {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(11,61,145,0.18);
    border: 1px solid #e0e8ff;
    z-index: 1000;
    overflow: hidden;
}

.search-box.open {
    display: block;
    animation: searchFadeIn 0.18s ease;
}

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

.search-box input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #eef2ff;
    outline: none;
    font-size: 14px;
    color: #1a1a2e;
    box-sizing: border-box;
    background: #f8f9ff;
}

.search-box input::placeholder {
    color: #aab4d0;
}

/* 搜索结果下拉列表 */
.search-results {
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.wsm-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    text-decoration: none;
    color: #1a1a2e;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.15s;
    gap: 8px;
}

.wsm-search-item:hover {
    background: #eef3ff;
    color: #0b3d91;
}

.wsm-search-title {
    font-size: 13.5px;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

.wsm-search-cat {
    font-size: 11px;
    color: #6b7daa;
    background: #eef2ff;
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.wsm-search-empty {
    padding: 16px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* 搜索按钮激活状态 */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #555;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    display: flex;
    align-items: center;
}

.search-toggle:hover {
    color: #0b3d91;
    background: #eef2ff;
}

/* header-search 定位基准 */
.header-search {
    position: relative;
}
