/* ========================================
   鸿鹄科技 - 企业网站样式表
   主题：红白配色
   ======================================== */

/* HarmonyOS Sans SC 字体定义 - 使用 font-slice 切片字体 */
/* 字体已按 Unicode 范围切片，浏览器按需加载，大幅提升首屏速度 */
/* 
 * 优化效果：
 * - 原字体文件：约 4.1MB 每个
 * - 切片后总大小：约 2.1MB（96个切片文件）
 * - 单个切片：最大约 34KB，最小仅 1.5KB
 * - 页面只需加载实际使用的字符子集，通常只需 100-300KB
 */

/* 引入切片字体 CSS 文件 - 所有 7 种字重 */
@import url('fonts/thin-sliced.css');      /* 100 - Thin */
@import url('fonts/light-sliced.css');     /* 300 - Light */
@import url('fonts/regular-sliced.css');   /* 400 - Regular */
@import url('fonts/medium-sliced.css');    /* 500 - Medium */
@import url('fonts/semibold-sliced.css');  /* 600 - Semibold */
@import url('fonts/bold-sliced.css');      /* 700 - Bold */
@import url('fonts/black-sliced.css');     /* 900 - Black */

/* CSS变量定义 */
:root {
    --primary-color: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #FEE2E2;
    --secondary-color: #1F2937;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'HarmonyOS Sans SC', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   页面加载动画 - 高级丝滑效果
   ======================================== */

/* ========================================
   首页英雄区动画 - 电影级效果
   ======================================== */

/* 英雄区内容容器 - 保持透明让子元素控制 */
.home-hero-content {
    opacity: 1;
}

/* 徽章 - 流光文字 + 字间距变化 */
.hero-badge {
    opacity: 0;
    animation: badgeShimmer 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes badgeShimmer {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        letter-spacing: 0.5em;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 0.1em;
    }
}

/* 品牌Logo - 模糊渐显 + 弹性回弹 */
.brand-logo {
    opacity: 0;
    animation: logoElasticBlur 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes logoElasticBlur {
    0% {
        opacity: 0;
        transform: scale(0);
        filter: blur(10px);
    }
    70% {
        transform: scale(1.1);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* 标题主文字 - 3D翻转 + 模糊渐显 */
.title-main {
    opacity: 0;
    display: inline-block;
    animation: titleMain3D 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    transform-style: preserve-3d;
}

@keyframes titleMain3D {
    0% {
        opacity: 0;
        transform: rotateX(-80deg) translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
        filter: blur(0);
    }
}

/* 标题副文字 - 上浮渐显 */
.title-sub {
    opacity: 0;
    display: inline-block;
    animation: titleSubFloat 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes titleSubFloat {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 描述文字 - 打字机模糊渐显 */
.hero-desc {
    opacity: 0;
    animation: descTypeBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

@keyframes descTypeBlur {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(8px);
        letter-spacing: 0.1em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
        letter-spacing: normal;
    }
}

/* 英雄区子元素动画由 .home-hero-content > * 统一控制，避免与滚动效果冲突 */
/* 注意：.hero-desc 也是 .home-hero-content 的子元素，已由上述规则控制 */

/* 滚动提示 - 优雅渐显（独立于英雄区内容，不受滚动影响） */
.hero-scroll {
    opacity: 0;
    animation: scrollReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

@keyframes scrollReveal {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动线条 - 呼吸动画 */
.scroll-line {
    animation: scrollLineBreathe 2s ease-in-out infinite;
}

@keyframes scrollLineBreathe {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* 英雄区统计数据由 .home-hero-content > * 统一控制动画 */
/* 统计数据项的交错动画由 JavaScript 滚动效果控制 */

/* 英雄区背景元素 - 呼吸渐显（最先显示） */
.hero-gradient {
    animation: heroBgBreathe 1.5s ease-out forwards;
}

@keyframes heroBgBreathe {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 网格脉冲 - 渐显 */
.hero-grid-pulse {
    opacity: 0;
    animation: gridPulseIn 1.2s ease-out 0.2s forwards;
}

@keyframes gridPulseIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* 粒子容器 - 延迟渐显 */
.hero-particles {
    opacity: 0;
    animation: particlesFadeIn 1s ease-out 0.8s forwards;
}

@keyframes particlesFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 浮动光球 - 依次入场，间隔更大避免卡顿 */
.hero-orb {
    opacity: 0;
}

.orb-1 {
    animation: orbFloatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards,
               orbFloatMove 6s ease-in-out 1.2s infinite;
}

.orb-2 {
    animation: orbFloatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards,
               orbFloatMove2 8s ease-in-out 1.6s infinite;
}

.orb-3 {
    animation: orbFloatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards,
               orbFloatMove3 7s ease-in-out 2s infinite;
}

@keyframes orbFloatIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(50px);
    }
    100% {
        opacity: 0.6;
        transform: scale(1) translateY(0);
    }
}

@keyframes orbFloatMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -30px);
    }
    50% {
        transform: translate(-10px, -50px);
    }
    75% {
        transform: translate(-30px, -20px);
    }
}

@keyframes orbFloatMove2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-40px, 20px);
    }
    66% {
        transform: translate(30px, -30px);
    }
}

@keyframes orbFloatMove3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(25px, 40px);
    }
}

/* 网格脉冲 - 渐显 */
.hero-grid-pulse {
    opacity: 0;
    animation: gridPulseIn 2s ease-out 0.3s forwards;
}

@keyframes gridPulseIn {
    0% {
        opacity: 0;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}
/* ========================================
   首页英雄区 - 深色主题设计
   ======================================== */

.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #12121f 30%, #0d1525 70%, #0a0f1a 100%);
    overflow: hidden;
    padding-top: 100px;
    animation: homeHeroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes homeHeroFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.home-hero-bg .hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(220, 38, 38, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.home-hero-bg .hero-pattern {
    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: 80px 80px;
    opacity: 0.6;
    pointer-events: none;
}

.home-hero-bg .hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.home-hero-bg .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(220, 38, 38, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(220, 38, 38, 0.08) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
}

/* 网格脉冲效果 - 从左上到右下 */
.hero-grid-pulse {
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 79px,
            rgba(220, 38, 38, 0.6) 79px,
            rgba(220, 38, 38, 0.6) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 79px,
            rgba(220, 38, 38, 0.6) 79px,
            rgba(220, 38, 38, 0.6) 80px
        );
    background-size: 80px 80px;
    mask-image: linear-gradient(135deg, 
        transparent 0%, 
        transparent 40%,
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 60%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(135deg, 
        transparent 0%, 
        transparent 40%,
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 60%,
        transparent 100%);
    mask-size: 200% 200%;
    -webkit-mask-size: 200% 200%;
    mask-position: 100% 100%;
    -webkit-mask-position: 100% 100%;
    animation: gridPulseDiagonal 5s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes gridPulseDiagonal {
    0% {
        mask-position: 100% 100%;
        -webkit-mask-position: 100% 100%;
    }
    100% {
        mask-position: 0% 0%;
        -webkit-mask-position: 0% 0%;
    }
}

/* 粒子效果 */
.hero-particles {
    position: absolute;
    inset: -100px;
    overflow: visible;
    pointer-events: none;
}

/* 浮动光球 */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.4;
}

.hero-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.7) 0%, rgba(220, 38, 38, 0.2) 40%, transparent 70%);
    top: 5%;
    left: 5%;
    animation: orbFloat1 12s ease-in-out infinite;
    opacity: 0.6;
}

.hero-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.6) 0%, rgba(220, 38, 38, 0.15) 40%, transparent 70%);
    top: 40%;
    right: 10%;
    animation: orbFloat2 15s ease-in-out infinite;
    opacity: 0.5;
}

.hero-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 80, 80, 0.5) 0%, rgba(255, 80, 80, 0.1) 40%, transparent 70%);
    bottom: 15%;
    left: 25%;
    animation: orbFloat3 18s ease-in-out infinite;
    opacity: 0.55;
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(80px, -50px) scale(1.15);
    }
    66% {
        transform: translate(-50px, 60px) scale(0.9);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-70px, 90px) scale(1.2);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(60px, -80px) scale(0.95);
    }
    75% {
        transform: translate(-40px, 50px) scale(1.1);
    }
}

.home-hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px 24px 40px;
    max-width: 900px;
    will-change: transform, opacity;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.hero-badge .badge-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.6), transparent);
}

.hero-badge .badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.hero-brand {
    margin-bottom: 32px;
}

.brand-logo {
    width: 220px;
    height: 220px;
    margin: 0 auto 24px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(220, 38, 38, 0.3));
}

.brand-title {
    margin: 0;
}

.brand-title .title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 12px;
    margin-bottom: 12px;
    text-shadow: 0 0 60px rgba(220, 38, 38, 0.4);
}

@media (max-width: 768px) {
    .brand-title .title-main {
        font-size: 2.5rem;
    }
}

.brand-title .title-sub {
    display: block;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    min-width: 160px;
}

.cta-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(220, 38, 38, 0.5);
}

.cta-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

.cta-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 滚动指示器 */
.hero-scroll {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.8), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* 英雄区揭示过渡效果 */
.hero-reveal-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.reveal-layer {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-layer.layer-1 {
    top: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 15, 0) 0%, 
        rgba(220, 38, 38, 0.03) 30%,
        rgba(220, 38, 38, 0.08) 60%,
        rgba(220, 38, 38, 0.15) 100%);
}

.reveal-layer.layer-2 {
    top: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 15, 0) 0%,
        rgba(10, 10, 15, 0.3) 40%,
        rgba(10, 10, 15, 0.7) 70%,
        rgba(10, 10, 15, 0.95) 100%);
}

.reveal-layer.layer-3 {
    top: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(255, 255, 255, 0.95) 70%,
        #ffffff 100%);
}

.reveal-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.reveal-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

/* 产品分类区域 - 与英雄区衔接 */
.product-categories {
    position: relative;
    background: #ffffff;
    margin-top: 0;
    padding-top: 100px;
    z-index: 5;
    isolation: isolate;
}

.product-categories::before {
    display: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .home-hero {
        min-height: auto;
        padding: 120px 0 100px;
    }
    
    .hero-badge {
        gap: 12px;
    }
    
    .hero-badge .badge-line {
        width: 40px;
    }
    
    .brand-title .title-main {
        letter-spacing: 6px;
    }
    
    .brand-title .title-sub {
        letter-spacing: 4px;
    }
    
    .hero-features {
        gap: 24px;
    }
    
    .cta-btn {
        padding: 14px 28px;
        min-width: 140px;
    }
}

/* ========================================
   通用区块样式
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 24px auto 0;
}

/* ========================================
   产品分类
   ======================================== */
.product-categories {
    background: var(--bg-secondary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.category-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

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

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-color);
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.category-arrow {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.category-card:hover .category-arrow {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

/* ========================================
   特色产品轮播
   ======================================== */
.featured-products {
    background: white;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFFFF 100%);
    min-height: 400px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    padding: 64px;
}

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

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    height: 100%;
}

.slide-text {
    max-width: 450px;
}

.product-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.slide-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.slide-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* 产品展示动画 */
.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase {
    position: relative;
    width: 280px;
    height: 280px;
}

/* 质子AI展示 */
.proton-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-core {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(220, 38, 38, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(220, 38, 38, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(220, 38, 38, 0.7); }
}

.ai-orbit {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    animation: orbit 8s linear infinite;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation: orbit 12s linear infinite reverse;
}

.orbit-3 {
    width: 260px;
    height: 260px;
    animation: orbit 16s linear infinite;
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Air Power Station展示 */
.power-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.power-station {
    width: 160px;
    height: 200px;
    background: linear-gradient(145deg, #FFFFFF 0%, #F3F4F6 100%);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    border: 2px solid var(--border-color);
}

.power-indicator {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.power-coil {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: wireless 2s ease-in-out infinite;
}

@keyframes wireless {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.5; }
}

/* Harmony宇宙展示 */
.harmony-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

.harmony-planet {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
}

.harmony-ring {
    position: absolute;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
}

.ring-1 {
    width: 180px;
    height: 60px;
    animation: rotate3d 10s linear infinite;
}

.ring-2 {
    width: 220px;
    height: 80px;
    animation: rotate3d 15s linear infinite reverse;
}

@keyframes rotate3d {
    from { transform: rotateX(60deg) rotateZ(0deg); }
    to { transform: rotateX(60deg) rotateZ(360deg); }
}

/* 轮播控制 */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ========================================
   最新动态
   ======================================== */
.latest-news {
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    gap: 24px;
}

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

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary-color);
}

.news-date .day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.news-date .month {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

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

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-contact p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

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

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .slide-text {
        max-width: 100%;
        order: 2;
    }
    
    .slide-visual {
        order: 1;
    }
    
    .carousel-slide {
        padding: 48px 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: 24px;
        gap: 8px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 16px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    section {
        padding: 64px 0;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
        padding: 12px 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-showcase {
        width: 200px;
        height: 200px;
    }
    
    .slide-text h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .carousel-slide {
        padding: 32px 24px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   动画效果
   ======================================== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* 从左侧滑入 */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* 从右侧滑入 */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放淡入 */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* 交错延迟动画 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* 产品卡片动画增强 */
.product-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

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

/* 产品图片动画 */
.product-card-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card-image.reveal.active {
    opacity: 1;
    transform: scale(1);
}

/* 产品内容动画 */
.product-card-content {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.product-card-content.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

/* 特性列表项动画 */
.product-features li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card.reveal.active .product-features li {
    opacity: 1;
    transform: translateX(0);
}

.product-card.reveal.active .product-features li:nth-child(1) { transition-delay: 0.3s; }
.product-card.reveal.active .product-features li:nth-child(2) { transition-delay: 0.4s; }
.product-card.reveal.active .product-features li:nth-child(3) { transition-delay: 0.5s; }
.product-card.reveal.active .product-features li:nth-child(4) { transition-delay: 0.6s; }

/* 规格表格动画 */
.product-specs-table {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.product-card.reveal.active .product-specs-table {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮动画 */
.product-card-actions {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.product-card.reveal.active .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

/* 页脚元素动画 */
.footer-brand,
.footer-links,
.footer-contact {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-brand.reveal.active,
.footer-links.reveal.active,
.footer-contact.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 标题动画 */
.section-title,
.page-header h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.reveal.active,
.page-header h1.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 副标题动画 */
.section-subtitle,
.page-subtitle {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.section-subtitle.reveal.active,
.page-subtitle.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
