/* ==========================================
   渡生科技 FerryLive - 高端商务版
   配色：深灰 + 金色点缀
   ========================================== */

/* CSS变量 - 极简黑白灰 */
:root {
    /* 颜色系统 */
    --color-dark: #ffffff;
    --color-charcoal: #f5f5f5;
    --color-gray-900: #e5e5e5;
    --color-gray-800: #d5d5d5;
    --color-gray-700: #bfbfbf;
    --color-gray-500: #808080;
    --color-gray-300: #505050;
    --color-gray-200: #303030;
    --color-gray-100: #0a0a0a;
    --color-white: #000000;
    
    /* 字体 */
    --font-primary: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Inter", "Noto Sans SC", -apple-system, sans-serif;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 100px;
    
    /* 动画 */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow: visible;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 72px;
    overflow: visible;
    gap: 20px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-basis: auto;
    min-width: 320px;
    padding-right: 60px;
    margin-right: auto;
    overflow: visible;
}

.nav-logo .logo-img {
    height: 44px;
    transition: var(--transition);
}

.nav-logo .logo-img:hover {
    opacity: 0.8;
}

.nav-logo .logo-text {
    height: 31px !important;
    width: 248px !important;
    min-width: 248px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex-shrink: 0 !important;
    transition: var(--transition);
    filter: none;
    display: block !important;
    overflow: visible !important;
}

.nav-logo .logo-text:hover {
    opacity: 0.8;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-basis: auto;
    min-width: 320px;
    padding-right: 0;
    overflow: visible;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 80px;
    margin: 0 auto;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-gray-200);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 60px;
    flex-shrink: 0;
}

.lang-link {
    text-decoration: none;
    color: var(--color-gray-200);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-link:hover,
.lang-link.active {
    color: var(--color-white);
}

.lang-separator {
    color: var(--color-gray-700);
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link i {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* 下拉菜单 */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-item-dropdown:hover .nav-link {
    color: var(--color-white);
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    width: 220px;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(245, 245, 245, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 6px 8px 8px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: none;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item-dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    display: none;
}

.dropdown-menu li {
    margin: 0;
    position: relative;
}


.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--color-gray-200);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    text-align: center;
    border-radius: 8px;
    margin: 0;
}

.dropdown-menu a.active {
    font-weight: 600;
    color: #111111;
    background: rgba(0, 0, 0, 0.08);
}

.dropdown-menu a:hover {
    color: #111111;
    background: rgba(0, 0, 0, 0.08);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ========== Hero Section - 星空背景 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-dark);
}

/* 背景视频层 */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    /* 优化视频播放性能 */
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* 确保视频流畅播放 */
    pointer-events: none;
}

.hero.image-mode .hero-bg-video {
    opacity: 1;
}

/* 粒子Canvas层 */
#starfield-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.hero.image-mode #starfield-canvas {
    opacity: 0;
}

/* 遮罩层 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.38);/*透明度*/
    z-index: 2;
}

.hero.image-mode .hero-overlay {
    background: rgba(255, 255, 255, 0.5);
}

/* 背景切换按钮 */
.bg-switch {
    position: absolute;
    top: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}

.switch-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.switch-btn i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition);
}

.switch-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.5);
}

.switch-btn:hover i {
    color: rgba(0, 0, 0, 0.9);
}

.switch-btn.active {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.8);
}

.switch-btn.active i {
    color: #000000;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--spacing-md);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible;
}

.hero-logo-icon {
    height: clamp(80px, 12vw, 120px);
}

.hero-logo-text {
    height: clamp(40px, 5vw, 60px) !important;
    width: auto !important;
    min-width: calc(clamp(40px, 5vw, 60px) * 7) !important;
    max-width: 98% !important;
    object-fit: contain !important;
    object-position: center center !important;
    flex-shrink: 0 !important;
    filter: invert(1); /* 反转黑字为白字，适配暗色背景 */
    display: block !important;
    overflow: visible !important;
}

.hero-logo-text-fancy {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: clamp(30px, 8vw, 60px);
    font-weight: 400;
    font-style: normal;
    color: var(--color-white);
    letter-spacing: 0.56em; /*渡生科技字号*/
    text-indent: 0.56em;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 4px 32px rgba(255, 255, 255, 0.3);
    position: relative;
}

.hero-logo-en-main {
    display: block;
    width: clamp(420px, 52vw, 900px);
    max-width: 92vw;
    height: clamp(72px, 9vw, 132px);
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    filter: none;
}

/* 逐字淡入上移动画 */
.writing-text {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.writing-text#hero-subtitle {
    animation-delay: 0.35s;
    letter-spacing: 30px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .hero-description,
.hero-description {
    color: #000000 !important;
    font-size: clamp(18px, 2.2vw, 24px) !important;
    font-weight: 400;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 4px;
}

.hero-subtitle-top {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;   
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(56px, 8vw, 88px);
    font-weight: 600;
    color: #000000;
    margin-bottom: var(--spacing-md);
    letter-spacing: 4px;
}

.hero-description {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 44px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-gray-200);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(0, 0, 0, 0.8);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--color-white);
}

.btn-text {
    background: none;
    color: var(--color-white);
    padding: 12px 0;
    border: none;
}

.btn-text:hover {
    color: var(--color-gray-200);
}

.btn-text i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-gray-700);
    border-radius: 13px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

.scroll-indicator p {
    font-size: 11px;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== 核心优势 ========== */
.advantages {
    padding: var(--spacing-xxl) 0;
    background: var(--color-charcoal);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.advantage-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    transition: var(--transition);
}

.advantage-item:hover {
    border-color: var(--color-white);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--color-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-white);
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.advantage-item p {
    font-size: 13px;
    color: var(--color-gray-300);
}

/* ========== 产品展示 ========== */
.product-showcase {
    padding: var(--spacing-xxl) 0;
    background: url('../images/17_56_26.png') center center / cover no-repeat;
    position: relative;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.product-showcase .container {
    position: relative;
    z-index: 2;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.product-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray-300);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.product-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.product-desc {
    font-size: 15px;
    color: var(--color-gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.product-features-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.product-features-list li {
    padding: 12px 0;
    color: var(--color-gray-200);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-features-list i {
    color: var(--color-white);
    font-size: 14px;
}

.product-image-placeholder {
    aspect-ratio: 1;
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
}

.product-image-placeholder i {
    font-size: 80px;
    margin-bottom: var(--spacing-md);
}

.product-image-placeholder p {
    font-size: 14px;
}

.product-showcase-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-dark);
    border: 1px solid var(--color-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    padding: var(--spacing-lg);
}

.product-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-showcase-image:hover img {
    transform: scale(1.05);
}

/* ========== 技术实力 ========== */
.tech-brief {
    padding: var(--spacing-xxl) 0;
    background: var(--color-charcoal);
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray-300);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-header-center h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--color-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.tech-item {
    padding: var(--spacing-xl);
    background: var(--color-gray-900);
    border-left: 3px solid var(--color-white);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateX(8px);
    border-left-width: 5px;
}

.tech-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.tech-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.tech-item p {
    font-size: 13px;
    color: var(--color-gray-300);
}

/* ========== 合作伙伴 ========== */
.partners {
    padding: var(--spacing-xxl) 0;
    background: var(--color-dark);
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.partner-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.partner-item i {
    font-size: 48px;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.partner-item p {
    font-size: 14px;
    color: var(--color-gray-300);
}

/* ========== 产品板块 ========== */
.products-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-charcoal);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--color-white);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
    border-bottom: 1px solid var(--color-gray-800);
}

.product-image-placeholder i {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image-placeholder i {
    opacity: 0.5;
}

.product-image-placeholder p {
    font-size: 14px;
    color: var(--color-gray-700);
    font-weight: 500;
    text-align: center;
}

.product-card-content {
    padding: 36px 30px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.product-card-description {
    font-size: 15px;
    color: var(--color-gray-300);
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 120px;
}

.product-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card-features li {
    padding: 7px 0;
    color: var(--color-gray-200);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-card-features li > div {
    display: flex;
    flex-direction: column;
}

.product-card-features li strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    margin-bottom: 2px;
    line-height: 1.4;
}

.product-card-features li p {
    margin: 0;
    font-size: 13px;
    color: var(--color-gray-300);
    line-height: 1.5;
}

.product-card-features i {
    color: var(--color-white);
    font-size: 12px;
    flex-shrink: 0;
}

.product-card-features.feature-rich i {
    margin-top: 0.45em;
}

.product-card-features.feature-rich {
    margin-top: -10px;
    margin-bottom: 12px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-gray-800);
    transition: var(--transition);
}

.product-card-link:hover {
    color: var(--color-gray-200);
    gap: 12px;
}

.product-card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.product-card-link:hover i {
    transform: translateX(4px);
}

/* ========== 新闻动态 ========== */
.news-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-dark);
    border-top: 1px solid var(--color-gray-800);
}

.page-content .news-section {
    border-top: none;
    padding-top: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-800);
}

.news-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    font-family: var(--font-heading);
}

.news-more-link {
    color: var(--color-gray-300);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.news-more-link:hover {
    color: var(--color-white);
}

.news-more-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-more-link:hover i {
    transform: translateX(4px);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
    transition: var(--transition);
    align-items: flex-start;
    text-decoration: none;
    color: var(--color-white);
}

.news-item:hover {
    border-color: var(--color-white);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.news-item:visited,
.news-item:active {
    color: var(--color-white);
    text-decoration: none;
}

.news-date {
    font-size: 14px;
    color: var(--color-gray-500);
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
    padding-top: 4px;
}

.news-image {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    background: var(--color-dark);
    border-radius: 6px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
    color: var(--color-gray-700);
}

.news-image-placeholder i {
    font-size: 40px;
    opacity: 0.3;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-item .news-date,
.news-item .news-headline,
.news-item .news-excerpt {
    text-decoration: none;
}

.news-headline {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-item:hover .news-headline {
    color: var(--color-white);
}

.news-excerpt {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.6;
    margin: 0;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--color-charcoal);
    padding: 34px 0 18px;
    border-top: 1px solid var(--color-gray-800);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.7fr 2.3fr;
    gap: 42px;
    margin-bottom: 14px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
    padding-right: 4px;
    overflow: visible;
}

.footer-logo {
    height: 30px;
}

.footer-logo-text {
    height: 20px !important;
    width: auto !important;
    min-width: 166px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex-shrink: 0 !important;
    filter: none;
    display: block !important;
    overflow: visible !important;
}

.footer-slogan {
    font-size: 13px;
    color: var(--color-gray-300);
    margin-bottom: 6px;
}

.footer-company {
    font-size: 12px;
    color: var(--color-gray-700);
}

.inline-logo-en {
    display: inline-block;
    height: 13px;
    width: auto;
    margin-left: 6px;
    vertical-align: -2px;
    filter: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    font-size: 13px;
    color: var(--color-gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-800);
    padding-top: 10px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--color-gray-700);
    margin: 2px 0;
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active {
    color: var(--color-gray-300);
    text-decoration: none;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .news-image {
        width: 180px;
        height: 110px;
    }
    
    .news-headline {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        gap: 10px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: var(--color-charcoal);
        width: 100%;
        padding: var(--spacing-md) 0;
        gap: 0;
        border-top: 1px solid var(--color-gray-800);
        transition: var(--transition);
        margin: 0;
        flex: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 12px var(--spacing-md);
    }
    
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 0;
        border: none;
        border-top: 1px solid var(--color-gray-800);
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .nav-item-dropdown .dropdown-menu li {
        max-width: 100%;
        flex: none;
    }
    
    .nav-item-dropdown .dropdown-menu li::after {
        left: var(--spacing-md);
        right: var(--spacing-md);
        top: auto;
        bottom: 0;
        height: 1px;
        width: auto;
    }
    
    .nav-item-dropdown .dropdown-menu a {
        padding: 12px var(--spacing-md);
        color: var(--color-gray-300);
        justify-content: flex-start;
        text-align: left;
    }
    
    .nav-item-dropdown .dropdown-menu a::before {
        left: 0;
        top: auto;
        bottom: 0;
        width: 3px;
        height: 100%;
        transform: scaleY(0);
    }
    
    .nav-item-dropdown .dropdown-menu a:hover,
    .nav-item-dropdown .dropdown-menu a.active {
        padding-left: calc(var(--spacing-md) + 4px);
        background: rgba(0, 0, 0, 0.05);
    }
    
    .nav-item-dropdown .dropdown-menu a:hover::before,
    .nav-item-dropdown .dropdown-menu a.active::before {
        transform: scaleY(1);
    }
    
    .nav-item-dropdown .dropdown-menu a.active {
        font-weight: 600;
    }
    
    .nav-link i {
        float: right;
    }
    
    .hamburger {
        display: flex;
        margin-left: auto;
        order: 3;
    }
    
    .lang-switch {
        order: 2;
        margin-left: 0;
        margin-right: 10px;
    }
    
    .nav-logo {
        min-width: 240px;
        padding-right: 10px;
    }
    
    .nav-logo a {
        min-width: 240px;
    }
    
    .nav-logo .logo-text {
        min-width: 194px !important;
        width: 194px !important;
        height: 24px !important;
    }

    .nav-logo .logo-img {
        height: 34px;
    }
    
    .hero-logo-container {
        min-width: 0;
        padding: 0 10px;
    }
    
    .hero-logo-text {
        min-width: calc(clamp(40px, 5vw, 60px) * 7) !important;
        max-width: 98% !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-card-title {
        font-size: 24px;
    }
    
    .product-card-content {
        padding: 28px 22px 20px;
    }

    .product-card-description {
        min-height: auto;
    }
    
    .news-title {
        font-size: 28px;
    }
    
    .news-item {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .news-date {
        min-width: auto;
        padding-top: 0;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .news-headline {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
