/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-lighter: #93c5fd;
    
    /* 次色调 - 深蓝紫 */
    --secondary-color: #6366f1;
    --secondary-dark: #4f46e5;
    --secondary-light: #818cf8;
    
    /* 辅助色 - 紫色渐变 */
    --accent-color: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #7c3aed;
    
    /* 文本颜色 */
    --text-color: #1e293b;
    --text-secondary: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    
    /* 背景颜色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    
    /* 边框颜色 */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    /* 阴影 - 统一使用蓝色调 */
    --shadow-sm: 0 1px 3px rgba(59, 130, 246, 0.1);
    --shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    --shadow-md: 0 6px 20px rgba(59, 130, 246, 0.18);
    --shadow-lg: 0 10px 30px rgba(59, 130, 246, 0.2);
    --shadow-xl: 0 20px 40px rgba(59, 130, 246, 0.25);
    
    /* 渐变组合 */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    
    /* 成功/警告/错误色 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* 兼容旧变量 */
    --white: var(--bg-primary);
    --bg-light: var(--bg-secondary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 页面加载动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 9999;
    animation: pageLoad 1s ease-out forwards;
    pointer-events: none;
}

@keyframes pageLoad {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.navbar:hover::after {
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    min-height: 55px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.logo a:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
    border-radius: 1px;
}

.logo a:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 1rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

/* 首页横幅 */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 粒子画布 */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* 科技感网格背景 */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* 渐变光球 */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
    animation: float 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(99, 102, 241, 0.4) 50%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hero内容 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero徽章 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: slideIn 1s ease-out 0.5s both;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    margin-bottom: 4rem;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-arrows span {
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    animation: arrowMove 1.5s ease-in-out infinite;
}

.scroll-arrows span:nth-child(1) { animation-delay: 0s; }
.scroll-arrows span:nth-child(2) { animation-delay: 0.2s; }
.scroll-arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes arrowMove {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link::after {
    content: '→';
    transition: transform 0.3s;
}

.btn-link:hover::after {
    transform: translateX(4px);
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

/* 通用区块样式 */
section {
    padding: 60px 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.6;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-bottom: 1rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* 公司简介 */
.intro {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.3) 0%, var(--bg-secondary) 50%, rgba(248, 250, 252, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    opacity: 0.3;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 产品预览 */
.products-preview {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.products-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    opacity: 0.2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    will-change: transform;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-12px) rotateX(3deg) rotateY(1deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.5);
}

.product-card,
.application-item,
.news-item,
.product-detail-item {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.3s;
}

.product-card.fade-in,
.application-item.fade-in,
.news-item.fade-in,
.product-detail-item.fade-in {
    opacity: 1;
}

body.loaded .product-card,
body.loaded .application-item,
body.loaded .news-item,
body.loaded .product-detail-item {
    opacity: 1;
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.25));
}

.product-card:hover .product-icon {
    transform: scale(1.2) rotateY(15deg);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.4));
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 应用领域预览 */
.applications-preview {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.applications-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    opacity: 0.2;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.application-item:hover {
    transform: translateY(-5px);
}

.application-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.application-item p {
    color: var(--text-light);
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* 新闻预览 */
.news-preview {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.news-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    opacity: 0.2;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    margin-bottom: 1rem;
}

.news-item h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.news-item h3 a:hover {
    color: var(--primary-color);
}

.news-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 页面头部 */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 算法分类导航 */
.algorithm-categories {
    background-color: var(--bg-light);
    padding: 30px 20px;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-tab:hover::before {
    width: 300px;
    height: 300px;
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    transform: scale(1.05);
}

/* 算法展示区域 */
.algorithms-showcase {
    padding: 60px 20px;
}

.algorithms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.algorithm-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 2px solid transparent;
    opacity: 1;
    transform: scale(1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.algorithm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08), transparent);
    transition: left 0.6s;
}

.algorithm-card:hover::before {
    left: 100%;
}

.algorithm-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.algorithm-card:hover::after {
    opacity: 1;
}

.algorithm-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.algorithm-card.hidden {
    display: none;
}

.algorithm-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
}

.algorithm-icon img {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.25));
    transition: all 0.3s ease;
}

.algorithm-card:hover .algorithm-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.algorithm-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.algorithm-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 60px;
}

.algorithm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.algorithm-tags .tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.algorithm-tags .tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08), transparent);
    transition: left 0.4s;
}

.algorithm-tags .tag:hover::before {
    left: 100%;
}

.algorithm-tags .tag:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* 产品详情页 */
.products-detail {
    padding: 60px 20px;
}

.product-detail-item {
    margin-bottom: 4rem;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-detail-content.reverse {
    direction: rtl;
}

.product-detail-content.reverse > * {
    direction: ltr;
}

.product-detail-text h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-detail-image {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* 应用详情页 */
.applications-detail {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.application-detail-item {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.application-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.application-detail-item h2 {
    margin-bottom: 1rem;
}

.application-detail-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.application-detail-item ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.application-detail-item ul li {
    padding: 0.5rem;
    background-color: var(--bg-light);
    border-radius: 5px;
    color: var(--text-color);
}

.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 新闻列表页 */
.news-list {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.news-article {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.news-article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-article h2 {
    text-align: left;
    font-size: 1.8rem;
    margin: 0;
}

.news-article p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 关于我们页 */
.about-content {
    padding: 60px 20px;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* 联系我们页 */
.contact-content {
    padding: 60px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #10b981;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    color: var(--white);
    padding: 50px 20px 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.icp-beian {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.icp-beian a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-beian a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.visit-counter {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.visit-label {
    color: rgba(255, 255, 255, 0.6);
}

.visit-count {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1rem;
    min-width: 60px;
    display: inline-block;
    text-align: left;
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 访问统计响应式 */
@media (max-width: 480px) {
    .visit-counter {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .visit-count {
        font-size: 0.95rem;
    }
    
    .icp-beian {
        font-size: 0.8rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 55px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .logo-img {
        height: 40px;
        max-width: 180px;
    }

    .hero {
        min-height: auto;
        padding: 80px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 3rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hero-stats {
        gap: 2rem;
        margin-top: 3rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .algorithm-categories {
        top: 0;
        padding: 20px 10px;
    }

    .category-tabs {
        gap: 0.5rem;
    }

    .category-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .algorithms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .algorithm-card {
        padding: 1.5rem;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .product-detail-content.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .applications-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 40px 20px;
    }

    .product-card,
    .application-item,
    .news-item {
        padding: 1.5rem;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* ============================================
   机器人二次开发页面样式
   ============================================ */

/* 机器人页面 Hero 区域 */
.robot-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.robot-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.robot-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.robot-tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

.robot-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
}

.robot-gradient-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -200px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.robot-gradient-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    bottom: -150px;
    left: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

.robot-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.robot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--primary-lighter);
}

.robot-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.robot-hero-title .title-line {
    display: block;
}

.robot-hero-title .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.robot-hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-lighter);
    margin-bottom: 1rem;
    font-weight: 500;
}

.robot-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* 核心技术能力 */
.robot-capabilities {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

    .capability-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.capability-icon svg {
    width: 100%;
    height: 100%;
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.capability-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.capability-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.capability-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 应用场景展示 */
.robot-applications {
    padding: 80px 0;
    background: var(--bg-primary);
}

.applications-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.application-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.application-showcase-item.reverse {
    direction: rtl;
}

.application-showcase-item.reverse > * {
    direction: ltr;
}

.application-image {
    position: relative;
}

.application-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.application-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.application-placeholder svg {
    width: 60%;
    height: 60%;
    z-index: 1;
    position: relative;
}

.application-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    position: relative;
    border-radius: 16px;
}

.application-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.application-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.application-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.application-features li {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary-color);
}

/* 支持的机器人平台 */
.robot-platforms {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.platform-logo {
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 技术优势 */
.robot-advantages {
    padding: 80px 0;
    background: var(--bg-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 服务流程 */
.robot-process {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    flex: 0 0 auto;
    text-align: center;
    min-width: 180px;
}

.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.process-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 0.5rem;
    flex-shrink: 0;
}

/* 联系我们 */
.robot-contact {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}

.robot-contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.robot-contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.robot-contact-content > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.robot-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.robot-contact-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.robot-contact-buttons .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.robot-contact-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.robot-contact-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 首页机器人预览部分 */
.robots-preview {
    padding: 80px 0;
    background: var(--bg-primary);
}

.robots-preview-content {
    margin-top: 3rem;
}

.robots-preview-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.robots-preview-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.robots-preview-text > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.robots-preview-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.robots-preview-features li {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.robots-preview-features li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.robots-preview-features li div {
    flex: 1;
}

.robots-preview-features li strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.robots-preview-features li span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.robots-preview-buttons {
    margin-top: 2rem;
}

.robots-preview-applications {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.robots-preview-applications h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.robots-app-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.robots-app-item {
    padding: 1.25rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.robots-app-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.robots-app-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.robots-app-item h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.robots-app-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.robots-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.platform-tag {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .robot-hero-title {
        font-size: 2.5rem;
    }

    .robot-hero-subtitle {
        font-size: 1.25rem;
    }

    .application-showcase-item {
        grid-template-columns: 1fr;
    }

    .application-showcase-item.reverse {
        direction: ltr;
    }

    .robots-preview-main {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .robot-hero {
        padding: 80px 0 60px;
        min-height: 400px;
    }

    .robot-hero-title {
        font-size: 2rem;
    }

    .robot-hero-subtitle {
        font-size: 1.125rem;
    }

    .robot-hero-description {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .robot-capabilities,
    .robot-applications,
    .robot-platforms,
    .robot-advantages,
    .robot-process {
        padding: 60px 0;
    }

    .capabilities-grid,
    .platforms-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .capability-card,
    .platform-card {
        padding: 1.5rem;
    }

    .capability-card h3,
    .platform-card h3 {
        font-size: 1.25rem;
    }

    .capability-card > p,
    .platform-card p {
        font-size: 0.95rem;
    }

    .application-showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .application-showcase-item.reverse {
        direction: ltr;
    }

    .application-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .application-placeholder {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
        min-height: 200px;
    }

    .application-placeholder img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }

    .application-content {
        width: 100%;
    }

    .application-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .application-content > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .application-features {
        gap: 0.75rem;
    }

    .application-features li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .process-timeline {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .process-step {
        min-width: auto;
        width: 100%;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        margin: 0.5rem auto;
    }

    .advantage-item {
        padding: 1.5rem 1rem;
    }

    .advantage-number {
        font-size: 2.5rem;
    }

    .advantage-item h4 {
        font-size: 1.125rem;
    }

    .advantage-item p {
        font-size: 0.9rem;
    }

    .robot-contact {
        padding: 60px 0;
    }

    .robot-contact-content h2 {
        font-size: 2rem;
    }

    .robot-contact-content > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .robot-contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .robot-contact-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .robots-preview-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .robot-hero {
        padding: 60px 0 40px;
        min-height: 350px;
    }

    .robot-hero-title {
        font-size: 1.75rem;
    }

    .robot-hero-subtitle {
        font-size: 1rem;
    }

    .robot-hero-description {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .robot-capabilities,
    .robot-applications,
    .robot-platforms,
    .robot-advantages,
    .robot-process {
        padding: 40px 0;
    }

    .capability-card,
    .platform-card {
        padding: 1.25rem;
    }

    .capability-card h3,
    .platform-card h3 {
        font-size: 1.125rem;
    }

    .application-content h3 {
        font-size: 1.25rem;
    }

    .application-content > p {
        font-size: 0.9rem;
    }

    .application-features li {
        padding: 0.625rem;
        font-size: 0.85rem;
    }

    .advantage-number {
        font-size: 2rem;
    }

    .advantage-item h4 {
        font-size: 1rem;
    }

    .advantage-item p {
        font-size: 0.85rem;
    }

    .robot-contact-content h2 {
        font-size: 1.75rem;
    }

    .robot-contact-content > p {
        font-size: 0.9rem;
    }

    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .process-step h4 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }
}

