/* ==================== CSS Variables ==================== */
:root {
    --color-primary: #0d2847;
    --color-primary-light: #1a3a5c;
    --color-primary-lighter: #2c5282;
    --color-accent: #3b82f6;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fc;
    --color-bg-dark: #0d1b2a;
    --color-text: #1a1a2e;
    --color-text-secondary: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --color-spectrum: linear-gradient(90deg, #7b2ff7, #4a90d9, #2ecc71, #f5a623, #e74c3c);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* 流式容器宽度 */
    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 32px);
    /* 流式 section 内边距 */
    --section-py: clamp(48px, 8vw, 96px);
    --header-height: 64px;
}

/* ==================== Reset ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== Spectrum Accent Line ==================== */
.spectrum-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-spectrum);
    z-index: 1000;
}

/* ==================== Layout ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-py) 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-eyebrow {
    display: inline-block;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--color-text-secondary);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px clamp(20px, 4vw, 32px);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

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

/* ==================== Navigation ==================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 900;
    transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.nav {
    height: 100%;
}

.nav-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    transition: color var(--transition);
}

#header.scrolled .logo {
    color: var(--color-primary);
}

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

/* 默认显示白色 logo（透明导航栏在深色 hero 上） */
.logo-img-light {
    display: block;
}

.logo-img-dark {
    display: none;
}

/* 滚动后导航栏变白，切换为黑色 logo */
#header.scrolled .logo-img-light {
    display: none;
}

#header.scrolled .logo-img-dark {
    display: block;
}

.logo-cn {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: auto;   /* 让导航菜单整体靠右，紧邻中英切换按钮 */
}

.nav-item {
    position: relative;
}

.nav-menu>.nav-item>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px clamp(8px, 1.5vw, 14px);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

/* Dropdown arrow indicator */
.nav-menu>.nav-item>a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition);
    opacity: 0.5;
}

.nav-item:hover>a::after {
    transform: rotate(225deg) translateY(0px);
    opacity: 1;
}

#header.scrolled .nav-menu>.nav-item>a {
    color: var(--color-text-secondary);
}

.nav-menu>.nav-item>a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

#header.scrolled .nav-menu>.nav-item>a:hover {
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
}

/* ==================== Dropdown Menu ==================== */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 12px 36px rgba(13, 40, 71, 0.14), 0 1px 3px rgba(0, 0, 0, 0.06);
    border-top: 2px solid var(--color-accent);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

/* Transparent hover bridge — keeps dropdown open while mouse travels the gap */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.nav-item:hover>.nav-dropdown,
.nav-item.dropdown-open>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown li {
    position: relative;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 14px;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Hover: accent dot + color shift */
.nav-dropdown a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
}

.nav-dropdown a:hover::before {
    background: var(--color-accent);
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

#header.scrolled .nav-toggle span {
    background: var(--color-primary);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== Language Toggle ==================== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 44px;
    padding: 0 12px;
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 滚动后导航栏变白，切换按钮同步反色 */
#header.scrolled .lang-toggle {
    color: var(--color-primary);
    background: rgba(13, 40, 71, 0.06);
    border-color: rgba(13, 40, 71, 0.18);
}

#header.scrolled .lang-toggle:hover {
    background: rgba(13, 40, 71, 0.12);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ==================== Breadcrumb ==================== */
.breadcrumb {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    z-index: 800;
    background: rgba(247, 249, 252, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
}

.breadcrumb.visible {
    transform: translateY(0);
    opacity: 1;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: var(--color-text-light);
    opacity: 0.6;
}

.breadcrumb-item:last-child {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--color-accent);
    transition: color var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==================== Hero / Carousel ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-bg-1 {
    background: url("images/slide-1.webp") center/cover no-repeat;
}

.slide-bg-2 {
    background: url("images/slide-2.webp") center/cover no-repeat;
}

.slide-bg-3 {
    background: url("images/slide-3.webp") center/cover no-repeat;
}

/* 轮播视频（仅第一张），铺满 slide，不变形，不拦截点击 */
.slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* 暗化遮罩：降低明度，保证白色标题文字清晰（中性黑，不偏蓝不偏白） */
.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 var(--container-padding);
    max-width: 800px;
}

.slide-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.carousel-slide.active .slide-tag {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.slide-content h1 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.slide-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.slide-content .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    opacity: 0;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
    left: 32px;
}

.carousel-next {
    right: 32px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition);
}

.dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--color-white);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ==================== About ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(32px, 6vw, 64px);
    align-items: center;
}

.about-text p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-text .btn {
    margin-top: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3vw, 32px);
}

.stat-item {
    text-align: center;
    padding: clamp(16px, 3vw, 24px) clamp(12px, 2vw, 16px);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

/* ==================== Products ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.product-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 2.5vw, 28px);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: grid;
    grid-template-columns: 35% 1fr;
    column-gap: clamp(16px, 2.5vw, 28px);
    align-items: center;
    transform-origin: center;
}

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

.product-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    aspect-ratio: 6 / 5;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg,
.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.product-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.product-specs {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-bottom: 16px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    padding: 4px 0;
}

.product-specs span {
    color: var(--color-text-light);
}

.product-link {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    transition: all var(--transition);
}

.product-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ==================== Video ==================== */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-dark);
}

.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 16px;
}


/* ==================== Applications ==================== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.app-card {
    text-align: center;
    padding: clamp(24px, 4vw, 36px) clamp(16px, 2vw, 20px);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    transform-origin: center;
}

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

.app-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--color-accent);
}

.app-icon svg {
    width: 100%;
    height: 100%;
}

.app-card h3 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.app-card p {
    font-size: clamp(0.78rem, 1.8vw, 0.825rem);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.app-card .product-link {
    margin-top: 14px;
}

/* ==================== News ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.news-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px);
    transition: all var(--transition);
    transform-origin: center;
}

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

.news-date {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
}

.news-link:hover {
    color: var(--color-primary);
}

/* ==================== Contact ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-info h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-internal-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.contact-internal-links p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-internal-links a {
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--color-accent);
    transition: all var(--transition);
}

.contact-internal-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* 蜜罐字段：对真人不可见，机器人若填写则被后台静默丢弃 */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* 人机验证（腾讯云 TCaptcha）可见组件 */
.captcha-box {
    margin-bottom: 16px;
}

.captcha-box.is-error .captcha-trigger {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.captcha-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.captcha-trigger:hover {
    border-color: var(--color-accent);
}

.captcha-trigger[aria-pressed="true"] {
    border-color: #27ae60;
    background: rgba(46, 204, 113, 0.06);
}

.captcha-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s;
}

.captcha-trigger[aria-pressed="true"] .captcha-check {
    border-color: #27ae60;
    background: #27ae60;
    color: #fff;
}

.captcha-label {
    flex: 1;
}

.captcha-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-text-light);
}

.captcha-box.is-verified .captcha-hint {
    color: #27ae60;
}

.captcha-box.is-demo .captcha-hint {
    color: #f5a623;
}

.contact-map {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.company-map {
    width: 100%;
    height: 260px;
    background: var(--color-bg-alt, #f2f4f7);
}

.company-map-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.contact-form {
    background: var(--color-bg);
    padding: clamp(20px, 4vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

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

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: all var(--transition);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: clamp(32px, 6vw, 64px) 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: 48px;
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Scroll Reveal ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive Breakpoints ==================== */

/* ---- Large desktop: 1280px+ (default styles above) ---- */

/* ---- Desktop: 1025px - 1280px ---- */
@media (max-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Tablet landscape: 769px - 1024px ---- */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---- Tablet portrait: 641px - 768px ---- */
@media (max-width: 768px) {
    .section {
        padding: clamp(40px, 6vw, 64px) 0;
    }

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

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(4px);
        flex-direction: column;
        padding: 16px var(--container-padding);
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-200%);
        transition: transform var(--transition);
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Mobile: nav-item takes full width, dropdown is inline */
    .nav-item {
        width: 100%;
    }

    .nav-menu>.nav-item>a {
        width: 100%;
        padding: 12px 0;
        color: var(--color-text-secondary);
        border-bottom: 1px solid var(--color-border);
        justify-content: space-between;
    }

    .nav-menu>.nav-item>a:hover {
        color: var(--color-accent);
        background: none;
    }

    /* Mobile: dropdown arrow rotates when open */
    .nav-item.dropdown-open>a::after {
        transform: rotate(225deg) translateY(0px);
        opacity: 1;
    }

    /* Mobile: dropdown as inset rounded panel (white theme) */
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-top: 2px solid var(--color-accent);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        padding: 4px;
        margin: 6px 0 4px 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin 0.3s ease;
    }

    .nav-dropdown::after {
        display: none;
    }

    .nav-item.dropdown-open>.nav-dropdown {
        max-height: 400px;
        margin: 6px 0 8px 12px;
    }

    .nav-dropdown a {
        padding: 10px 14px;
        font-size: 0.82rem;
        color: var(--color-text-secondary);
        border-radius: var(--radius-sm);
        border-bottom: none;
    }

    .nav-dropdown a::before {
        width: 4px;
        height: 4px;
        background: var(--color-border);
    }

    .nav-dropdown a:hover {
        color: var(--color-accent);
        background: rgba(59, 130, 246, 0.08);
        padding-left: 14px;
    }

    .nav-dropdown a:hover::before {
        background: var(--color-accent);
        transform: scale(1.3);
    }

    .nav-toggle {
        display: flex;
    }

    .logo-cn {
        display: none;
    }

    .product-grid,
    .app-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .carousel-btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

/* ---- Mobile: 481px - 640px ---- */
@media (max-width: 640px) {
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .carousel-prev,
    .carousel-next {
        display: none;
    }

    .contact-internal-links a {
        display: block;
        margin-right: 0;
    }
}

/* ---- Small mobile: max 480px ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .product-card {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .product-card .product-icon {
        grid-column: auto;
        grid-row: auto;
        max-width: 320px;
    }

    .section {
        padding: 40px 0;
    }

    .contact-form {
        padding: 20px;
    }

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

    .slide-desc {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 500px;
    }

    .footer-brand h4,
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
    }
}

/* ---- Extra small mobile: max 360px ---- */
@media (max-width: 360px) {
    .logo-img {
        height: 28px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* ---- Print styles ---- */
@media print {

    .spectrum-line,
    .carousel-btn,
    .carousel-dots,
    .nav-toggle,
    .breadcrumb,
    .footer-bottom a {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }

    .carousel-slide {
        position: relative;
        opacity: 1;
    }
}

/* ==================== Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    /* ==================== FAQ ==================== */
    .faq-list {
        max-width: 860px;
        margin: 0 auto;
    }
    .faq-item {
        border: 1px solid var(--color-border, #e3e8ef);
        border-radius: 10px;
        margin-bottom: 14px;
        background: #fff;
        overflow: hidden;
    }
    .faq-item summary {
        cursor: pointer;
        list-style: none;
        padding: 16px 20px;
        font-weight: 600;
        font-size: 16px;
        color: var(--color-text, #1f2933);
        position: relative;
        padding-right: 44px;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
        content: "+";
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        font-weight: 400;
        color: var(--color-primary, #2f6df6);
        transition: transform .2s ease;
    }
    .faq-item[open] summary::after { content: "\2212"; }
    .faq-item p {
        margin: 0;
        padding: 0 20px 18px;
        color: var(--color-text-light, #5b6573);
        line-height: 1.8;
        font-size: 15px;
    }
}