@charset "UTF-8";

:root {
    /* 品牌色 */
    --primary: #0d4f8b;
    --primary-dark: #0a3a6a;
    --primary-light: #1a6db5;
    --secondary: #00b4d8;
    --accent: #f4841f;
    --accent-hover: #e07518;
    /* 暗色 */
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    /* 灰色系 */
    --gray-100: #f8fafc;
    --gray-200: #eef2f6;
    --gray-300: #dde4eb;
    --gray-400: #b0bec5;
    --gray-500: #78909c;
    --gray-600: #546e7a;
    --gray-700: #37474f;
    --gray-800: #263238;
    --white: #ffffff;
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* 圆角 */
    --radius-sm: clamp(4px, 0.6vw, 6px);
    --radius: clamp(8px, 0.8vw, 10px);
    --radius-lg: clamp(12px, 1vw, 16px);
    --radius-xl: clamp(16px, 1.5vw, 24px);
    /* 过渡 */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* 字体 */
    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, -apple-system, sans-serif;
    --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, -apple-system, sans-serif;
    /* 布局 */
    --max-width: 1280px;
    --header-height: clamp(64px, 8vw, 80px);
    --header-height-mobile: clamp(56px, 14vw, 64px);
    /* 安全区域 - iOS刘海屏/灵动岛 */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    /* 触摸最小尺寸 */
    --touch-min: clamp(44px, 10vw, 48px);
    /* 内容宽度clamp */
    --content-narrow: clamp(300px, 90vw, 450px);
    --content-medium: clamp(340px, 85vw, 640px);
}

/* 暗黑模式变量 */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #e2e8f0;
        --dark-light: #cbd5e1;
        --gray-800: #f1f5f9;
        --gray-700: #e2e8f0;
        --gray-600: #cbd5e1;
        --gray-500: #94a3b8;
        --gray-400: #64748b;
        --gray-300: #475569;
        --gray-200: #334155;
        --gray-100: #1e293b;
        --white: #0f172a;
        --primary: #60a5fa;
        --primary-dark: #93c5fd;
        --primary-light: #3b82f6;
        --secondary: #38bdf8;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
        color-scheme: dark;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== IMAGE FIXES ========== */
/* 确保所有替换的图片在flex容器中正确显示 */
.product-card-image img,
.case-image img,
.news-card-img img,
.about-page-img img,
.contact-info-icon img,
.float-btn img,
.subcat-card-img img,
.about-value-icon img,
.cert-icon img,
.ap-image-icon img,
.hero-float-icon img,
.ap-feature-icon img,
.adv-icon-wrap {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 浮动按钮图片不禁用悬停事件传递 */
.float-btn > img {
    pointer-events: none;
}

/* 优势卡片图标特殊处理 - 覆盖原有flex样式 */
.adv-icon-wrap {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 20px !important;
    border-radius: 20px;
    font-size: 0 !important;
}

/* 页脚联系图标 */
.footer-contact-icon {
    display: inline-block !important;
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul,
ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 3px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 640px;
    margin: 24px auto 0;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.45);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #f6a04e);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 132, 31, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 132, 31, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(13, 79, 139, 0.06);
}

.nav-link .arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray-700);
    transition: all var(--transition);
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--primary);
    background: var(--gray-100);
    padding-left: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-tel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 90px 24px 40px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    transition: color var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.mobile-sub-toggle .arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

.mobile-sub-toggle.open .arrow {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.mobile-sub-menu.open {
    max-height: 500px;
}

.mobile-sub-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray-600);
    transition: color var(--transition);
}

.mobile-sub-link:hover {
    color: var(--primary);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #0d2a4a 40%, #0a3a6a 70%, #0d4f8b 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(244, 132, 31, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--secondary), #5ce1e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1a3a5c, #0d2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-placeholder {
    text-align: center;
    padding: 40px;
}

.hero-img-icon {
    font-size: 80px;
    margin-bottom: 16px;
    display: block;
}

.hero-img-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-float-card.card-1 {
    top: 10%;
    right: -10px;
    animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-2 {
    bottom: 15%;
    left: -10px;
    animation: floatCard 4s ease-in-out 1s infinite;
}

.hero-float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.hero-float-info .hf-num {
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

.hero-float-info .hf-label {
    font-size: 12px;
    color: var(--gray-500);
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
    background: var(--white);
}

.ap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ap-image-wrap {
    position: relative;
}

.ap-image {
    width: 100%;
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ap-image-content {
    text-align: center;
    padding: 40px;
}

.ap-image-icon {
    font-size: 70px;
    display: block;
    margin-bottom: 12px;
}

.ap-image-label {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

.ap-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.ap-exp-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.ap-exp-label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 6px;
}

.ap-content .section-title {
    text-align: left;
}

.ap-content .section-title::after {
    left: 0;
    transform: none;
}

.ap-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 20px;
}

.ap-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.ap-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 16px;
    flex-shrink: 0;
}

.ap-feature-text {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

/* ========== PRODUCTS PREVIEW ========== */
.products-preview {
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-icon {
    font-size: 56px;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-icon {
    transform: scale(1.1);
}

.product-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.product-card-tag-item {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 20px;
    color: var(--gray-600);
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}

.product-card-link:hover {
    gap: 10px;
}

/* ========== ADVANTAGES ========== */
.advantages {
    background: var(--white);
    position: relative;
}

.advantages-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 180, 216, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(13, 79, 139, 0.04) 0%, transparent 50%);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.adv-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    background: var(--white);
    border: 1px solid transparent;
}

.adv-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.adv-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
}

.adv-card:nth-child(1) .adv-icon-wrap {
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary);
}

.adv-card:nth-child(2) .adv-icon-wrap {
    background: rgba(244, 132, 31, 0.1);
    color: var(--accent);
}

.adv-card:nth-child(3) .adv-icon-wrap {
    background: rgba(13, 79, 139, 0.1);
    color: var(--primary);
}

.adv-card:nth-child(4) .adv-icon-wrap {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.adv-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.adv-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== CASE PREVIEW ========== */
.cases-preview {
    background: var(--gray-100);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.case-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.case-body {
    padding: 20px;
}

.case-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.case-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== PARTNERS / BRANDS ========== */
.partners {
    background: var(--gray-100);
    padding: 70px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: default;
}

.brand-item:hover {
    color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .brand-item {
        padding: 14px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .brand-item {
        padding: 12px 8px;
        font-size: 12px;
    }
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 28px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo-name {
    color: var(--white);
}

.footer-about .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-icon {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-qr {
    text-align: center;
}

.footer-qr-img {
    width: 110px;
    height: 110px;
    background: var(--white);
    border-radius: var(--radius);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-qr-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* ========== FLOATING BUTTONS ========== */
.float-btns {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    position: relative;
}

.float-btn-tel {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
}

.float-btn-tel:hover {
    transform: scale(1.1);
}

.float-btn-wx {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: var(--white);
}

.float-btn-wx:hover {
    transform: scale(1.1);
}

.float-btn-top {
    background: var(--white);
    color: var(--gray-600);
}

.float-btn-top:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    z-index: 1000;
}

.float-tooltip.tel-tip {
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

.float-tooltip.wx-tip {
    padding: 10px;
    width: 160px;
    height: 160px;
}

.float-tooltip.wx-tip img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    display: block;
}

.float-tooltip.wx-tip .qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-500);
}

.float-btn:hover .float-tooltip,
.float-btn.tooltip-visible .float-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========== BREADCRUMB ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner-sub {
    font-size: 15px;
    opacity: 0.75;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.7;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========== PRODUCT DETAIL PAGE ========== */
.product-detail {
    padding: 60px 0;
}

.pd-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

.pd-image {
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: sticky;
    top: 100px;
}

.pd-info-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.pd-info-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 24px;
}

.pd-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.pd-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
}

/* ========== PRODUCT SUB-CATEGORY CARDS ========== */
.subcat-section {
    margin-bottom: 50px;
}

.subcat-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    position: relative;
}

.subcat-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--secondary);
}

.subcat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.subcat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.subcat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.subcat-card-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f0f7fa, #e0eef5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.subcat-card-body {
    padding: 20px;
}

.subcat-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.subcat-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== CASE DETAIL PAGE ========== */
.cases-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-page-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.case-page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.case-page-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.case-page-body {
    padding: 24px;
}

.case-page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.case-page-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.case-page-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== NEWS PAGE ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.news-card-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-card-excerpt {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-info-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-info-text span {
    font-size: 13px;
    color: var(--gray-500);
}

.contact-form-wrap {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
    transition: all var(--transition);
    background: var(--gray-100);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== MAP ========== */
.map-section {
    padding: 0 0 60px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e8ecf1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.map-placeholder iframe,
.map-placeholder #companyMap {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 24px;
}

/* Leaflet 控件适配 */
.map-placeholder .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.map-placeholder .leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
}

/* Leaflet 自定义标记修复 */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* ========== ABOUT PAGE ========== */
.about-page-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-page-img {
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.about-value-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.about-value-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.about-value-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.about-value-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.about-value-desc {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== CERTIFICATIONS ========== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cert-card {
    text-align: center;
    padding: 36px 20px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cert-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    box-shadow: 0 4px 12px rgba(13, 79, 139, 0.1);
}

.cert-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-icon-default {
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
}

.cert-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.cert-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.cert-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== ANIMATIONS ========== */
/* 使用transform/opacity保证GPU合成，强制硬件加速 */
.fade-in {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* ========== iOS安全区域适配 ========== */
.safe-pad-top { padding-top: var(--safe-top); }
.safe-pad-bottom { padding-bottom: var(--safe-bottom); }
.safe-pad-left { padding-left: var(--safe-left); }
.safe-pad-right { padding-right: var(--safe-right); }
.safe-pad { padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left); }

.header { padding-top: var(--safe-top); }
.footer { padding-bottom: var(--safe-bottom); }

/* ========== 触摸优化 (按钮≥44px) ========== */
.btn, .nav-link, .dropdown-link, .product-card-link,
.mobile-nav-link, .mobile-sub-toggle, .mobile-sub-link,
.footer-links a, .brand-item, .case-card-link,
.news-card-link, .subcat-card, .float-btn {
    min-height: var(--touch-min);
    cursor: pointer;
    touch-action: manipulation;
}

.btn { min-height: clamp(44px, 10vw, 52px); }

/* 消除300ms点击延迟 */
a, button, input, select, textarea, label {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 移动端按压反馈 */
@media (hover: none) and (pointer: coarse) {
    .btn:active, .nav-link:active, .product-card:active,
    .subcat-card:active, .case-card:active, .news-card:active {
        opacity: 0.7;
        transform: scale(0.97);
        transition: transform 0.1s ease, opacity 0.1s ease;
    }
    
    .float-btn:active {
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }
}

/* ========== 1px边框高清屏优化 ========== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header, .product-card, .case-card, .news-card,
    .subcat-card, .about-value-card, .cert-card,
    .brand-item, .partner-item, .contact-info-item,
    .form-group input, .form-group textarea {
        border-width: 0.5px;
    }
}

/* ========== 骨架屏/占位图(LQIP) ========== */
.img-placeholder {
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-100) 50%, var(--gray-200) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========== 暗黑模式组件覆盖 ========== */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--gray-100);
        color: var(--gray-600);
    }
    
    .header {
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-link:hover, .nav-link.active {
        background: rgba(96, 165, 250, 0.15);
    }
    
    .dropdown {
        background: var(--gray-100);
        border-color: var(--gray-200);
    }
    
    .mobile-nav {
        background: var(--gray-100);
    }
    
    .product-card, .case-card, .news-card,
    .adv-card, .about-value-card, .cert-card,
    .contact-info-item, .contact-form-wrap,
    .subcat-card, .brand-item {
        background: var(--gray-100);
        border-color: rgba(255,255,255,0.08);
    }
    
    .product-card-tag-item, .case-card-tag {
        background: var(--gray-200);
    }
    
    .footer {
        background: #0a0f1a;
    }
    
    .btn-outline {
        border-color: var(--primary);
        color: var(--primary);
    }
    
    .btn-outline:hover {
        background: var(--primary);
        color: var(--white);
    }
    
    .section-title::after {
        background: linear-gradient(90deg, var(--secondary), var(--primary));
    }
    
    input, textarea, select {
        background: var(--gray-200);
        border-color: var(--gray-300);
        color: var(--gray-600);
    }
    
    input:focus, textarea:focus, select:focus {
        background: var(--gray-100);
    }
    
    .footer-contact-item img,
    .contact-info-icon img,
    .ap-feature-icon {
        filter: brightness(1.2);
    }
    
    .nav-link { color: var(--gray-500); }
    .nav-link:hover, .nav-link.active { color: var(--primary); }
}

/* ========== 无障碍：跳过导航 ========== */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 10px;
}

/* ========== 键盘焦点样式(WCAG 2.2) ========== */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

/* ========== prefers-reduced-motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ========== RESPONSIVE ========== */

/* Large Desktop - below 1200px */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 36px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-float-card {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .ap-grid {
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subcat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pd-intro {
        grid-template-columns: 1fr;
    }

    .pd-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablet - below 900px */
@media (max-width: 900px) {
    .header {
        height: var(--header-height-mobile);
    }

    .nav-list {
        display: none;
    }

    .header-actions .header-tel {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat-num {
        font-size: 26px;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .ap-grid {
        grid-template-columns: 1fr;
    }

    .ap-image-wrap {
        max-width: 450px;
        margin: 0 auto;
    }

    .ap-experience {
        right: 0;
        bottom: -10px;
        padding: 16px 16px;
    }

    .ap-exp-num {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .adv-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cta-title {
        font-size: 26px;
    }

    .about-page-intro {
        grid-template-columns: 1fr;
    }

    .about-page-img {
        max-width: 450px;
        margin: 0 auto;
    }

    .about-values {
        grid-template-columns: 1fr 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .cases-page-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .subcat-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pd-features-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-qr {
        text-align: left;
    }

    .footer-qr-img {
        margin: 0 0 10px;
    }

    .float-btns {
        right: 12px;
        bottom: 60px;
        gap: 8px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .map-placeholder {
        height: 280px;
        border-radius: 16px;
    }

    .page-banner {
        padding: 100px 0 40px;
    }

    .page-banner-title {
        font-size: 28px;
    }
}

/* Mobile - below 600px */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .logo-name {
        font-size: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-num {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .adv-grid {
        grid-template-columns: 1fr;
    }

    .ap-experience {
        display: none;
    }

    .ap-features {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .partners-track {
        gap: 30px;
    }

    .partner-item {
        font-size: 16px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .map-placeholder {
        height: 220px;
        border-radius: 12px;
    }

    .pd-info-title {
        font-size: 24px;
    }

    .subcat-title {
        font-size: 20px;
    }

    .case-page-title {
        font-size: 16px;
    }

    .news-card-title {
        font-size: 15px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
