/* ========================================
   菲晟科技 - 电源解决方案网站样式表
   专业、高端、充满艺术气息的设计
======================================== */

/* CSS变量定义 */
:root {
    /* 主色调 - 科技蓝 */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* 中性色 */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* 辅助色 */
    --accent-gold: #d4a574;
    --accent-copper: #b87333;
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;

    /* 字体 */
    --font-primary: 'Noto Sans SC', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* 间距系统 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* 容器宽度 */
    --container-max: 1280px;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   导航栏
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: all var(--transition-base);
    width: 100%;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .logo-en,
.navbar.scrolled .nav-menu a,
.navbar.scrolled .hamburger span {
    color: var(--neutral-800);
}

.navbar-light {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-light .logo-text,
.navbar-light .logo-en,
.navbar-light .nav-menu a,
.navbar-light .hamburger span {
    color: var(--neutral-800);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 52;
    position: relative;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-en {
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width var(--transition-base);
}

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

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 52;
    padding: var(--space-sm);
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all var(--transition-base);
    transform-origin: center;
}

.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);
}

/* 语言切换按钮 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    letter-spacing: 0.04em;
    white-space: nowrap;
    z-index: 52;
    position: relative;
}

.lang-switch svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .lang-switch,
.navbar-light .lang-switch {
    color: var(--neutral-800);
    border-color: rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .lang-switch:hover,
.navbar-light .lang-switch:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* ========================================
   英雄区域
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--neutral-900) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.3) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('./public/images/hero-bg.jpg') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-2xl);
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-200);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--primary-400) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-2xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-500);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-500);
}

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

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

.btn-light:hover {
    background: var(--neutral-100);
    transform: translateY(-2px);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    animation: scroll 2s ease-in-out infinite;
}

/* ========================================
   区块标题
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header.light {
    color: #fff;
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-200);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
}

.section-header.light .section-title {
    color: #fff;
}

/* ========================================
   核心优势
======================================== */
.features {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

.feature-card {
    padding: var(--space-2xl);
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #fff;
    border-color: var(--primary-200);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ========================================
   产品展示
======================================== */
.products-showcase {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.products-more {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ========================================
   数据统计
======================================== */
.stats {
    padding: var(--space-4xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--neutral-900) 100%);
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(30, 64, 175, 0.3) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 300;
}

.stat-label {
    display: block;
    margin-top: var(--space-md);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* ========================================
   服务流程
======================================== */
.process {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: var(--space-xl);
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-200) 0%, var(--primary-500) 50%, var(--primary-200) 100%);
}

.process-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 var(--space-sm);
}

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.process-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.process-content p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ========================================
   品牌合作
======================================== */
.brands {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
    overflow: hidden;
}

.brands-slider {
    width: 100%;
    overflow: hidden;
}

.brands-track {
    display: flex;
    gap: var(--space-3xl);
    animation: scroll-brands 30s linear infinite;
}

.brand-logo {
    flex-shrink: 0;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    transition: color var(--transition-base);
}

.brand-logo:hover {
    color: var(--neutral-600);
}

.brand-logo svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   行动召唤
======================================== */
.cta-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(23, 23, 23, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
}

.footer-top {
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-logo .logo-en {
    color: rgba(255, 255, 255, 0.6);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--neutral-400);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--neutral-400);
    transition: all var(--transition-base);
}

.footer-col a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.95rem;
}

.contact-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-400);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    text-align: center;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* ========================================
   页面标题 (内页)
======================================== */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    margin-top: 0;
    overflow: hidden;
    z-index: 1;
}

.page-header-bg {
    position: absolute;
    inset: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(23, 23, 23, 0.95) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.page-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-200);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.page-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   产品页面样式
======================================== */
.product-nav-section {
    padding: var(--space-2xl) 0;
    background: #fff;
    position: sticky;
    top: 80px;
    z-index: 40;
    box-shadow: var(--shadow-sm);
}

.product-nav {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.product-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--neutral-50);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: all var(--transition-base);
}

.product-nav-item:hover,
.product-nav-item.active {
    background: var(--primary-500);
    color: #fff;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.product-category {
    padding: var(--space-4xl) 0;
    scroll-margin-top: 200px;
}

.product-category.alt-bg {
    background: var(--neutral-50);
}

.category-header {
    margin-bottom: var(--space-3xl);
}

.category-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.category-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.category-desc {
    font-size: 1.125rem;
    color: var(--neutral-600);
    max-width: 700px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 1100px;
    margin: 0 auto;
}

.product-detail-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.product-detail-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-6px);
}

.product-detail-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--neutral-100);
    flex-shrink: 0;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-detail-card:hover .product-detail-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-500);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-badge.new {
    background: var(--success);
}

.product-detail-info {
    padding: var(--space-2xl);
}

.product-detail-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-xl);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.feature-tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--primary-600);
    font-weight: 600;
    transition: all var(--transition-base);
    font-size: 0.95rem;
    margin-top: var(--space-lg);
    width: fit-content;
}

.product-link:hover {
    color: var(--primary-700);
    gap: var(--space-md);
}

.custom-service {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-100) 100%);
}

.custom-service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.custom-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.custom-info > p {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

.custom-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.custom-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    color: var(--neutral-700);
}

.custom-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
    flex-shrink: 0;
}

.custom-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.custom-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ========================================
   关于页面样式
======================================== */
.about-intro {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-intro-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
}

.about-intro-text p {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-intro-text .lead {
    font-size: 1.125rem;
    color: var(--neutral-700);
}

.about-highlights {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

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

.highlight-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-600);
    line-height: 1;
}

.highlight-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-top: var(--space-xs);
}

.about-intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.culture-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
    background: var(--neutral-50);
}

.culture-bg {
    position: absolute;
    inset: 0;
    display: none;
}

.culture-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.culture-card {
    padding: var(--space-2xl);
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.culture-card:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.culture-icon svg {
    width: 32px;
    height: 32px;
}

.culture-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.culture-card p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.history-section {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-200) 0%, var(--primary-500) 100%);
    transform: translateX(-50%);
}

.history-item {
    position: relative;
    padding: var(--space-xl) 0;
    padding-left: calc(50% + var(--space-2xl));
}

.history-item:nth-child(even) {
    padding-left: 0;
    padding-right: calc(50% + var(--space-2xl));
    text-align: right;
}

.history-year {
    position: absolute;
    top: var(--space-xl);
    left: calc(50% - 50px);
    width: 100px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    background: #fff;
    z-index: 1;
}

.history-item:nth-child(even) .history-year {
    right: calc(50% - 50px);
    left: auto;
}

.history-item::before {
    content: '';
    position: absolute;
    top: calc(var(--space-xl) + 10px);
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
    background: var(--primary-500);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
}

.history-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.history-content p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.cert-section {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.cert-card {
    padding: var(--space-xl);
    background: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

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

.cert-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--primary-500);
}

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

.cert-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.team-section {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.team-card {
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: var(--space-lg);
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.team-role {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.team-info p {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* ========================================
   联系页面样式
======================================== */
.contact-section {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    padding: var(--space-xl);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: var(--primary-50);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

.contact-form-section {
    padding: var(--space-2xl);
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
}

.form-header {
    margin-bottom: var(--space-xl);
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.form-header p {
    font-size: 1rem;
    color: var(--neutral-600);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: #fff;
}

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

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

.btn-submit {
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.125rem;
}

.map-section {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.map-container {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    padding: var(--space-4xl);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-100) 100%);
}

.map-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.map-icon svg {
    width: 40px;
    height: 40px;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.map-placeholder > p {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

.map-details {
    display: flex;
    gap: var(--space-2xl);
    justify-content: center;
}

.map-detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--neutral-600);
}

.map-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
}

.faq-section {
    padding: var(--space-4xl) 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.faq-question {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    transition: all var(--transition-base);
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-toggle {
    background: var(--primary-500);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.8;
}

/* ========================================
   动画
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 1280px) {
    .features-grid,
    .culture-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3xl);
    }
}

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

    .product-card.large {
        grid-column: span 1;
    }

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

    .product-detail-image {
        height: 260px;
    }

    .custom-service-content,
    .about-intro-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .custom-image {
        order: -1;
    }

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

    .process-timeline {
        flex-wrap: wrap;
        gap: var(--space-xl);
        justify-content: center;
    }

    .process-timeline::before {
        display: none;
    }

    .process-item {
        flex: 0 0 calc(50% - var(--space-lg));
    }

    .history-item,
    .history-item:nth-child(even) {
        padding-left: calc(50% + var(--space-2xl));
        padding-right: 0;
        text-align: left;
    }

    .history-year {
        left: calc(50% - 50px);
        right: auto;
    }

    .history-item::before {
        left: calc(50% - 6px);
    }
}

@media (max-width: 768px) {
    /* 汉堡菜单显示 */
    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: var(--neutral-800);
    }

    .navbar:not(.scrolled):not(.navbar-light) .hamburger span {
        background: #fff;
    }

    .navbar:not(.scrolled):not(.navbar-light) .lang-switch {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .nav-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(23, 23, 23, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 9999 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 100px var(--space-lg) var(--space-lg);
        list-style: none;
        margin: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        font-size: 1.5rem;
        color: #fff;
        display: block;
    }

    .navbar.scrolled .nav-menu a,
    .navbar-light .nav-menu a {
        color: #fff;
    }

    /* 产品grid */
    .products-grid {
        flex-direction: column;
    }

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

    .product-card:nth-child(even) {
        direction: ltr;
    }

    .product-card:nth-child(even) .product-info {
        direction: ltr;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: var(--space-lg);
    }

    .product-info h3 {
        font-size: 1.25rem;
    }

    /* 英雄区域 */
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* 区块调整 */
    .features-grid,
    .culture-grid,
    .team-grid,
    .cert-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: var(--space-2xl);
    }

    .contact-info-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .product-nav {
        gap: var(--space-sm);
    }

    .product-nav-item span:not(.nav-icon) {
        display: none;
    }

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

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

    /* 流程 */
    .process-item {
        flex: 0 0 100%;
    }

    /* 历史 */
    .history-timeline::before {
        left: 20px;
    }

    .history-item,
    .history-item:nth-child(even) {
        padding-left: calc(40px + var(--space-xl));
    }

    .history-year {
        position: relative;
        left: auto;
        margin-bottom: var(--space-sm);
        background: transparent;
    }

    .history-item::before {
        left: 14px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .map-details {
        flex-direction: column;
        gap: var(--space-md);
    }

    /* 区块调整 */
    .section-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 140px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav-container {
        padding: 0 var(--space-md);
    }

    .hero-content {
        padding: var(--space-lg);
    }

    .hero-badge {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        padding: var(--space-xs) var(--space-md);
        margin-bottom: var(--space-md);
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.5rem);
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--space-xl);
    }

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

    .feature-card,
    .culture-card,
    .contact-card {
        padding: var(--space-lg);
    }

    .product-detail-info {
        padding: var(--space-lg);
    }

    .contact-form-section {
        padding: var(--space-lg);
    }
}

/* 滚动显示动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-500);
}
