/* ============================================
   成都巨子半导体有限公司 - 官网样式表
   主题：蓝色渐变 + 白色内容背景
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
    --primary: #1a5fb4;
    --primary-dark: #0d3b7a;
    --primary-light: #4a9eff;
    --accent: #00b8d4;
    --accent-glow: rgba(0, 184, 212, 0.3);
    --gradient-main: linear-gradient(135deg, #0d3b7a 0%, #1a5fb4 50%, #4a9eff 100%);
    --gradient-hero: linear-gradient(135deg, #0a2d5e 0%, #0d3b7a 30%, #1a5fb4 65%, #2d7dd2 100%);
    --gradient-accent: linear-gradient(135deg, #00b8d4 0%, #4a9eff 100%);
    --white: #ffffff;
    --bg-light: #f5f8fc;
    --bg-gray: #eef2f8;
    --text-dark: #1a1a2e;
    --text-body: #4a5568;
    --text-light: #8898b0;
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(13, 59, 122, 0.08);
    --shadow-md: 0 8px 30px rgba(13, 59, 122, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 59, 122, 0.18);
    --shadow-blue: 0 8px 30px rgba(26, 95, 180, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
    --header-h: 84px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 重置 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 通用容器 ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: var(--white);
}

/* ===== 排版 ===== */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title .label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.section-title p {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 95, 180, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-text:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.btn-text::after {
    content: "\2192";
    transition: var(--transition);
}

/* ===== 导航栏 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(13, 59, 122, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-light);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    flex-shrink: 0;
}

.header.scrolled .logo {
    color: var(--primary-dark);
}

.logo-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0) invert(1) opacity(0.85);
    transition: filter 0.4s ease;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.header.scrolled .logo-icon {
    filter: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: flex-start;
    text-align: left;
}

.logo-text .cn {
    font-size: 1.5rem;
    white-space: nowrap;
}

.logo-text .en {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.header.scrolled .nav-menu a {
    color: var(--text-body);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav-menu a:hover,
.header.scrolled .nav-menu a.active {
    color: var(--primary);
    background: var(--bg-light);
}

/* ===== EN-mode compact nav (html[lang="en"]) =====
   英文状态下菜单项文本更长(About Us / Member Center 等)、默认 14px 横向 padding 过宽，
   导致 CN 按钮被推到视口右侧外。收紧 EN 模式下的 padding、字号、搜索框宽度与 actions gap。 */
html[lang="en"] .nav-menu a {
    padding: 8px 7px;
    font-size: 0.84rem;
}
html[lang="en"] .nav-search-inline input {
    width: 110px;
    padding: 0 28px 0 30px;
}
html[lang="en"] .nav-search-inline input:focus {
    width: 150px;
}
html[lang="en"] .nav-actions {
    gap: 5px;
}
html[lang="en"] .nav-lang-btn {
    width: 32px;
    height: 32px;
    font-size: 0.76rem;
}

/* ===== 二级下拉菜单 ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--primary-dark);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 200;
    white-space: nowrap;
}

.nav-dropdown:hover .nav-submenu {
    display: block;
    animation: navFadeIn 0.2s ease;
}

@keyframes navFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-submenu li {
    list-style: none;
}

.nav-submenu a {
    display: block;
    padding: 9px 22px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    transition: all 0.15s;
}

.nav-submenu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-submenu {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.header.scrolled .nav-submenu a {
    color: var(--text-body);
}

.header.scrolled .nav-submenu a:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ===== 导航栏操作区（搜索+语言切换） ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* 内联搜索栏 */
.nav-search-inline {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-inline .nav-search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 2;
    transition: var(--transition);
}

.nav-search-inline .nav-search-input-wrap {
    position: relative;
}

.nav-search-inline input {
    width: 150px;
    height: 36px;
    padding: 0 36px 0 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.nav-search-inline input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nav-search-inline input:focus {
    width: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 184, 212, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.15);
}

.nav-search-inline:focus-within .nav-search-icon {
    color: var(--accent);
}

/* 滚动后白色导航栏样式 */
.header.scrolled .nav-search-inline .nav-search-icon {
    color: var(--text-light);
}

.header.scrolled .nav-search-inline input {
    border-color: var(--border-light);
    background: var(--bg-light);
    color: var(--text-dark);
}

.header.scrolled .nav-search-inline input::placeholder {
    color: var(--text-light);
}

.header.scrolled .nav-search-inline input:focus {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.1);
}

.header.scrolled .nav-search-inline:focus-within .nav-search-icon {
    color: var(--accent);
}

/* 移动端搜索按钮（默认隐藏，小屏显示） */
.nav-search-mobile-btn {
    display: none;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-search-mobile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.header.scrolled .nav-search-mobile-btn {
    background: var(--bg-light);
    color: var(--text-body);
}

.header.scrolled .nav-search-mobile-btn:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

/* 搜索下拉结果 */
.nav-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    z-index: 10000;
    padding: 8px;
}

.nav-search-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-search-dropdown .dropdown-item {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-light);
}

.nav-search-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.nav-search-dropdown .dropdown-item:hover {
    background: var(--bg-light);
}

.nav-search-dropdown .dropdown-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.nav-search-dropdown .dropdown-item-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

.nav-search-dropdown .dropdown-item mark {
    background: rgba(0, 184, 212, 0.15);
    color: var(--accent);
    border-radius: 2px;
    padding: 0 2px;
}

.nav-search-dropdown .dropdown-placeholder {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.nav-search-dropdown .dropdown-no-result {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.nav-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.nav-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.nav-search-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

/* 旧搜索按钮样式（保留兼容） */
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.header.scrolled .nav-search-btn {
    background: var(--bg-light);
    color: var(--text-body);
}

.header.scrolled .nav-search-btn:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.nav-lang-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.nav-lang-btn .lang-cn,
.nav-lang-btn .lang-en {
    transition: var(--transition);
}

/* 中文模式显示 EN（可切换到的语言），英文模式显示 CN */
.nav-lang-btn .lang-cn {
    display: none;
}

.nav-lang-btn.lang-en-active .lang-en {
    display: none;
}

.nav-lang-btn.lang-en-active .lang-cn {
    display: block;
}

.nav-lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.header.scrolled .nav-lang-btn {
    border-color: var(--border-light);
    color: var(--text-body);
}

.header.scrolled .nav-lang-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--accent);
}

/* ===== 搜索遮罩层 ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 60, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    width: 90%;
    max-width: 640px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-box {
    transform: translateY(0);
}

.search-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 12px;
}

.search-header svg {
    color: var(--text-light);
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: transparent;
    font-family: inherit;
}

#searchInput::placeholder {
    color: var(--text-light);
}

.search-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-close:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.search-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-no-result {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-item {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.search-item:hover {
    background: var(--bg-light);
}

.search-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.search-item-desc {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.4;
}

.search-item mark {
    background: rgba(0, 184, 212, 0.15);
    color: var(--accent);
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 184, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 158, 255, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--white));
    z-index: 2;
}

/* Hero 背景图（未来能源 - 透明虚化处理） */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.72;
}

/* 网格背景 */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero 装饰图形 */
.hero-visual {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.9;
}

.chip-graphic {
    width: 420px;
    height: 420px;
    position: relative;
}

.chip-graphic svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 184, 212, 0.3));
}

.chip-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.chip-ring.r1 { width: 340px; height: 340px; }
.chip-ring.r2 { width: 400px; height: 400px; animation-duration: 30s; animation-direction: reverse; }

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero 统计数据 */
.hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat .num .unit {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 4px;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== 子页面 Banner ===== */
.page-banner {
    padding: calc(var(--header-h) + 80px) 0 70px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 70% 50%, rgba(0, 184, 212, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a:hover {
    color: var(--white);
}

.page-banner .breadcrumb span {
    opacity: 0.4;
}

/* ===== 特性卡片 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.1), rgba(0, 184, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 产品卡片 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* 首页核心产品线：强制单行三列排列
   - 用 `minmax(0, 1fr)` 而非 `1fr`：grid 默认 min-width:auto(=min-content)，
     当某卡片文字过长时，列会被撑爆而把后面的卡片挤到下一行。
     `minmax(0, 1fr)` 强制允许卡片缩到 0，永远保持等分。 */
body .product-grid.core-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* 防御：CMS 历史原因曾向 .product-grid 注入多余的 <a> 按钮导致4列占位把卡片挤成2+1。
   隐藏所有非 .product-card 的直接子元素，保证3张卡片永远占满三列。 */
body .product-grid.core-products > :not(.product-card) {
    display: none !important;
}


/* 三卡片网格 → 从左至右三列排列（不影响四卡2×2及其他网格）
   副保险：旧浏览器不支持 :has() 时由上面 .core-products 兜底。
   使用 minmax(0, 1fr) 防止任何网格外自动撑大把卡片挤到下一行。 */
body .feature-grid:has(> :nth-child(3):last-child),
body .product-grid:has(> :nth-child(3):last-child),
body .solution-grid:has(> :nth-child(3):last-child),
body .news-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-visual {
    height: 180px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(255, 255, 255, 0.15), transparent);
}

.product-visual svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.product-visual-img {
    max-width: 70%;
    max-height: 130px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.28));
}

.product-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.product-body {
    padding: 26px;
}

.product-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-body .desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-specs span {
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 500;
}

/* ===== 解决方案卡片 ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* 三卡片网格 → 从左至右三列排列（不影响四卡2×2及其他网格）
   副保险：旧浏览器不支持 :has() 时由上面 .core-products 兜底。
   使用 minmax(0, 1fr) 防止任何网格外自动撑大把卡片挤到下一行。 */
body .feature-grid:has(> :nth-child(3):last-child),
body .product-grid:has(> :nth-child(3):last-child),
body .solution-grid:has(> :nth-child(3):last-child),
body .news-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 320px;
    cursor: pointer;
    transition: var(--transition);
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    z-index: 1;
}

.solution-card .pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 1;
}

.solution-card .pattern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.solution-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: var(--white);
    transition: var(--transition);
    background: linear-gradient(to top, rgba(8, 25, 60, 0.9) 0%, rgba(8, 25, 60, 0) 65%);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover .content {
    padding-bottom: 38px;
}

.solution-card .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ===== 时间线 ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-main);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 48px 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding: 0 0 48px 40px;
}

.timeline-item::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    z-index: 2;
}

.timeline-item:nth-child(even)::after {
    left: -7px;
    right: auto;
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ===== 技术优势 ===== */
.tech-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.tech-col {
    padding: 40px;
}

.tech-col.si {
    background: var(--bg-gray);
}

.tech-col.sic {
    background: var(--gradient-main);
    color: var(--white);
}

.tech-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.tech-col.si h3 { color: var(--text-light); }
.tech-col.sic h3 { color: var(--white); }

.tech-col ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    font-size: 0.92rem;
}

.tech-col ul li:last-child { border-bottom: none; }

.tech-col.si ul li { color: var(--text-light); }
.tech-col.sic ul li { color: rgba(255, 255, 255, 0.9); }

.tech-col .val {
    font-weight: 700;
}

.tech-col.si .val { color: var(--text-light); }
.tech-col.sic .val { color: var(--accent); }

/* 参数表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table thead {
    background: var(--gradient-main);
}

.spec-table th {
    padding: 16px 20px;
    text-align: left;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
}

.spec-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-body);
}

.spec-table tbody tr:hover {
    background: var(--bg-light);
}

.spec-table .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tag-new { background: #e8f5e9; color: #2e7d32; }
.tag-hot { background: #fff3e0; color: #e65100; }
.tag-pro { background: #e3f2fd; color: #1565c0; }

/* ===== 新闻卡片 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.news-thumb {
    height: 200px;
    background: var(--gradient-main);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-thumb .date {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    z-index: 2;
}

.news-thumb .date .day {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.news-thumb .date .month {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

.news-body {
    padding: 24px;
}

.news-body .category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: block;
    color: inherit;
}

.news-card-link:hover {
    color: inherit;
}

.news-card-link .news-body h3 {
    transition: color 0.3s;
}

.news-card-link:hover .news-body h3 {
    color: var(--primary);
}

/* ===== 新闻详情页 ===== */
.news-article {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.article-meta .category {
    background: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta .date {
    color: var(--text-light);
}

.article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 18px;
}

.article-summary {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

.article-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-body);
}

.article-body p {
    margin-bottom: 24px;
    text-indent: 2em;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.4;
}

.article-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.article-feature-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.75;
    border-bottom: 1px dashed var(--border);
}

.article-feature-list li:last-child {
    border-bottom: none;
}

.article-feature-list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.15);
}

.article-image-banner {
    margin: 0 0 32px;
}

.article-image-banner img {
    border-radius: var(--radius-md);
}

.article-body figure.article-image {
    margin: 36px 0;
    text-align: center;
}

.article-body figure.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: inline-block;
}

.article-body figure.article-image figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.article-back {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body {
        font-size: 0.95rem;
    }

    .article-body p {
        text-indent: 1.5em;
    }
}

/* ===== 联系页面 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card {
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    padding: 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 184, 212, 0.2), transparent);
    border-radius: 50%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    position: relative;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.contact-detail .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-detail .info .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-detail .info .value {
    font-size: 0.95rem;
    font-weight: 500;
}

/* 联系表单 */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-body);
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== 公司简介区 ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro .text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-intro .text p {
    color: var(--text-body);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-intro .visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-intro .visual svg {
    width: 70%;
    height: auto;
    color: rgba(255, 255, 255, 0.9);
}

.about-intro .visual .about-intro-tech-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 核心价值观 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.value-item {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-item .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--white);
    font-size: 1.6rem;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.86rem;
    color: var(--text-light);
}

/* ===== 合作伙伴/认证 ===== */
.partner-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.partner-item {
    padding: 16px 32px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.partner-award-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.partner-award-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
}

.partner-award-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-award-card:nth-child(1) .partner-award-img-wrap {
    height: 480px;
}

.partner-award-card:nth-child(1) .partner-award-img-wrap img {
    width: 98%;
    height: 98%;
    object-fit: contain;
}

.partner-award-card:nth-child(2) .partner-award-img-wrap {
    height: 320px;
}

.partner-award-img-wrap {
    width: 100%;
    height: 320px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-award-img-wrap img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    display: block;
}

/* ===== CTA 区域 ===== */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(0, 184, 212, 0.15), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(74, 158, 255, 0.12), transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== 页脚 ===== */
.footer {
    background: #0a1e3a;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 18px;
}

.footer-brand .logo-icon {
    filter: brightness(0) invert(1) opacity(0.85);
}

.footer-brand .logo-text .en {
    display: none;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact li.footer-qr-item {
    margin-top: 16px;
    margin-bottom: 0;
}

.footer-qr-display {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.footer-qr-display:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li .icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .hero h1 { font-size: 2.4rem; }
    .hero-visual { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 28px; }
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .tech-comparison { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section-title h2 { font-size: 1.7rem; }
    body .product-grid.core-products { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: rgba(13, 59, 122, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        transform: translateY(-150%);
        transition: var(--transition);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .header.scrolled .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu a {
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* 移动端二级菜单展开 */
    .nav-dropdown > a::after { display: none; }
    .nav-dropdown > a {
        pointer-events: none;
    }
    .nav-submenu {
        display: block;
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        min-width: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }
    .nav-submenu a {
        padding: 12px 18px 12px 36px;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .header.scrolled .nav-submenu {
        background: rgba(0, 59, 122, 0.05);
        border: none;
        box-shadow: none;
    }
    .header.scrolled .nav-submenu a {
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-toggle { display: flex; }
    .nav-search-inline input { display: none; }
    .nav-search-inline .nav-search-icon { display: none; }
    .nav-search-mobile-btn { display: flex; }
    .nav-lang-btn { width: 34px; height: 34px; }
    .nav-actions { gap: 6px; margin-left: auto; }
    .search-box { max-width: 92%; }
    .nav-search-dropdown { width: calc(100vw - 32px); right: 0; }

    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .section { padding: 60px 0; }
    .section-title h2 { font-size: 1.5rem; }

    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding: 0 0 40px 50px; }
    .timeline-item:nth-child(even) { left: 0; padding: 0 0 40px 50px; }
    .timeline-item::after,
    .timeline-item:nth-child(even)::after { left: 13px; right: auto; }

    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .solution-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    body .product-grid.core-products { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 1.8rem; }

    .logo-icon { width: 42px; height: 42px; }
    .logo-text .cn { font-size: 1.3rem; }
    .logo-text .en { display: none; }

    .partner-award-grid { gap: 24px; }
    .partner-award-card { max-width: 100%; }
    .partner-award-img-wrap { height: 220px; }
    .logo { gap: 8px; }
}

/* ===== 地图组件 ===== */
.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-wrapper #map {
    z-index: 1;
}

.map-wrapper .leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: none;
}

.map-wrapper .leaflet-popup-tip {
    box-shadow: var(--shadow-sm);
}

.custom-map-marker {
    background: transparent !important;
    border: none !important;
}

@media (max-width: 768px) {
    .map-wrapper #map { height: 350px; }
}

/* ===== 浮动社交分享栏 ===== */
.share-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.share-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

.share-bar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: var(--shadow-md);
    color: var(--text-body);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.share-bar-btn:hover {
    transform: scale(1.15) translateX(4px);
}

.share-bar-btn.linkedin:hover { background: #0077B5; color: white; border-color: #0077B5; }
.share-bar-btn.twitter:hover { background: #000000; color: white; border-color: #000000; }
.share-bar-btn.facebook:hover { background: #1877F2; color: white; border-color: #1877F2; }
.share-bar-btn.email:hover { background: var(--primary); color: white; border-color: var(--primary); }
.share-bar-btn.copy:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ===== 页面内分享按钮 ===== */
.page-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-light);
}

.page-share-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.article-share span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.page-share-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-body);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.page-share-btn:hover { transform: translateY(-3px); }
.page-share-btn.linkedin:hover { background: #0077B5; color: white; }
.page-share-btn.twitter:hover { background: #000000; color: white; }
.page-share-btn.facebook:hover { background: #1877F2; color: white; }
.page-share-btn.email:hover { background: var(--primary); color: white; }

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-dark);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .share-bar { display: none; }
}
