/* ============================================
   KTZN 企业网站 - 主样式文件
   福建旷特智能科技有限公司
   ============================================ */

/* CSS变量定义 */
:root {
    /* 主色调 - 量子科技感 */
    --primary-cyan: #00f5ff;
    --primary-purple: #7b2ff7;
    --primary-magenta: #f107a3;
    --primary-blue: #0066ff;
    
    /* 渐变 */
    --gradient-main: linear-gradient(135deg, #00f5ff 0%, #7b2ff7 50%, #f107a3 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a1a 0%, #0f0f2d 50%, #0a0a1a 100%);
    --gradient-card: linear-gradient(145deg, rgba(20, 20, 50, 0.8), rgba(10, 10, 30, 0.9));
    
    /* 背景色 */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(15, 15, 35, 0.7);
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* 边框 */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 245, 255, 0.3);
    
    /* 字体 */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* 间距 */
    --section-padding: 120px 0;
    --container-max: 1400px;
    --container-padding: 0 60px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-cyan);
    color: var(--bg-primary);
}

/* 链接基础样式 */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* 列表基础样式 */
ul, ol {
    list-style: none;
}

/* 图片基础样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮基础样式 */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   粒子背景画布
   ============================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 网格背景 */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* 扫描线效果 */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    position: relative;
}

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

/* Logo动画 - 轨道旋转 */
.orbit {
    transform-origin: center;
}

.orbit-1 {
    animation: orbitRotate1 6s linear infinite;
}

.orbit-2 {
    animation: orbitRotate2 8s linear infinite;
}

.orbit-3 {
    animation: orbitRotate3 10s linear infinite;
}

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

@keyframes orbitRotate2 {
    from { transform: rotate(60deg); }
    to { transform: rotate(420deg); }
}

@keyframes orbitRotate3 {
    from { transform: rotate(120deg); }
    to { transform: rotate(480deg); }
}

/* 电子运动 */
.electron {
    transform-origin: 30px 30px;
}

.electron-1 {
    animation: electronMove1 6s linear infinite;
}

.electron-2 {
    animation: electronMove2 8s linear infinite;
}

.electron-3 {
    animation: electronMove3 10s linear infinite;
}

@keyframes electronMove1 {
    from { transform: rotate(0deg) translateX(25px); }
    to { transform: rotate(360deg) translateX(25px); }
}

@keyframes electronMove2 {
    from { transform: rotate(60deg) translateX(25px); }
    to { transform: rotate(420deg) translateX(25px); }
}

@keyframes electronMove3 {
    from { transform: rotate(120deg) translateX(25px); }
    to { transform: rotate(480deg) translateX(25px); }
}

/* 核心脉冲 */
.core {
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    color: var(--primary-cyan);
    background: rgba(0, 245, 255, 0.1);
}

/* 联系按钮 */
.btn-contact {
    position: relative;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-contact .btn-text {
    position: relative;
    z-index: 2;
}

.btn-contact .btn-glow {
    display: none;
}

.btn-contact:hover .btn-glow {
    left: 0;
}

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ============================================
   英雄区
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 60px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    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); }
}

.badge-text {
    font-size: 0.85rem;
    color: var(--primary-cyan);
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 字符动画 */
.char-animate {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charReveal 0.6s ease forwards;
}

.char-animate:nth-child(1) { animation-delay: 0.1s; }
.char-animate:nth-child(2) { animation-delay: 0.15s; }
.char-animate:nth-child(3) { animation-delay: 0.2s; }
.char-animate:nth-child(4) { animation-delay: 0.25s; }
.char-animate:nth-child(5) { animation-delay: 0.3s; }

.title-line.highlight .char-animate:nth-child(1) { animation-delay: 0.4s; }
.title-line.highlight .char-animate:nth-child(2) { animation-delay: 0.45s; }
.title-line.highlight .char-animate:nth-child(3) { animation-delay: 0.5s; }
.title-line.highlight .char-animate:nth-child(4) { animation-delay: 0.55s; }
.title-line.highlight .char-animate:nth-child(5) { animation-delay: 0.6s; }

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    min-height: 30px;
}

.typing-text {
    color: var(--text-secondary);
}

.cursor {
    color: var(--primary-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 统计数据 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-light);
}

/* 行动按钮 */
.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-main);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-primary);
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
}

.btn-primary .btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* 英雄视觉区 - 量子球体 */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.quantum-sphere {
    position: relative;
    width: 500px;
    height: 500px;
}

.sphere-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid transparent;
    border-radius: 50%;
    animation: sphereRotate 20s linear infinite;
}

.ring-1 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 245, 255, 0.3);
    animation-duration: 15s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    border-color: rgba(123, 47, 247, 0.3);
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(241, 7, 163, 0.3);
    animation-duration: 25s;
}

@keyframes sphereRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(0, 245, 255, 0.5),
        0 0 120px rgba(123, 47, 247, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    animation: corePulse 3s ease-in-out infinite;
}

.core-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-primary);
}

/* 粒子效果 */
.sphere-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.p1 { top: 10%; left: 50%; animation: particleFloat 4s ease-in-out infinite; }
.p2 { top: 30%; left: 85%; animation: particleFloat 5s ease-in-out infinite 0.5s; }
.p3 { top: 70%; left: 90%; animation: particleFloat 4.5s ease-in-out infinite 1s; }
.p4 { top: 90%; left: 50%; animation: particleFloat 5.5s ease-in-out infinite 1.5s; }
.p5 { top: 70%; left: 10%; animation: particleFloat 4s ease-in-out infinite 2s; }
.p6 { top: 30%; left: 15%; animation: particleFloat 5s ease-in-out infinite 2.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 0.5; }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   通用区块样式
   ============================================ */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-cyan);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

/* ============================================
   解决方案区
   ============================================ */
.solutions {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    position: relative;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.3);
}

.solution-card.featured {
    border-color: rgba(0, 245, 255, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 245, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
}

.solution-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
}

.card-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-cyan);
}

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

.card-badge {
    font-size: 0.7rem;
    padding: 6px 12px;
    background: rgba(0, 245, 255, 0.2);
    color: var(--primary-cyan);
    border-radius: 20px;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.card-features {
    margin-bottom: 30px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.card-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--primary-cyan);
    font-size: 0.6rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-cyan);
}

.card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.card-link:hover svg {
    transform: translateX(5px);
}

/* ============================================
   核心能力区
   ============================================ */
.capabilities {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    z-index: 10;
}

.capabilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.capabilities-text {
    position: relative;
}

.capability-list {
    margin-top: 40px;
}

.capability-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-light);
}

.capability-item:last-child {
    border-bottom: none;
}

.capability-number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-cyan);
    min-width: 40px;
}

.capability-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.capability-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 技术球体 */
.capabilities-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-globe {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50%;
}

.globe-ring:nth-child(1) {
    width: 350px;
    height: 350px;
    animation: globeRotate 30s linear infinite;
}

.globe-ring:nth-child(2) {
    width: 280px;
    height: 280px;
    animation: globeRotate 25s linear infinite reverse;
}

.globe-ring:nth-child(3) {
    width: 210px;
    height: 210px;
    animation: globeRotate 20s linear infinite;
}

@keyframes globeRotate {
    from { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

.globe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(0, 245, 255, 0.4);
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-cyan), transparent);
    animation: streamFlow 3s ease-in-out infinite;
}

.stream-1 { left: 20%; top: 10%; animation-delay: 0s; }
.stream-2 { right: 25%; top: 20%; animation-delay: 1s; }
.stream-3 { left: 40%; bottom: 15%; animation-delay: 2s; }

@keyframes streamFlow {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(50px); }
}

/* ============================================
   研究课题区
   ============================================ */
.research {
    padding: var(--section-padding);
    position: relative;
    z-index: 10;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.research-card {
    position: relative;
    padding: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.research-card.palantir {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.research-card.spacex {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.research-card.palantir .research-bg {
    background: radial-gradient(circle at 80% 20%, #0066ff 0%, transparent 50%);
}

.research-card.spacex .research-bg {
    background: radial-gradient(circle at 20% 30%, #ffffff 0%, transparent 50%);
}

.research-content {
    position: relative;
    z-index: 1;
}

.research-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
}

.research-card.palantir .research-icon {
    color: #0066ff;
}

.research-card.spacex .research-icon {
    color: #ffffff;
}

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

.research-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.research-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.research-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.research-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.research-card.palantir .research-link {
    color: #0066ff;
}

.research-card.spacex .research-link {
    color: #ffffff;
}

.research-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.research-link:hover svg {
    transform: translateX(5px);
}

/* 理念引用 */
.philosophy-quote {
    text-align: center;
    padding: 60px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.philosophy-quote blockquote {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quote-mark {
    color: var(--primary-cyan);
    font-size: 2.5rem;
    line-height: 0;
    vertical-align: middle;
}

.quote-attribution {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   联系区域
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    z-index: 10;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-cyan);
}

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

.contact-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 联系表单 */
.contact-form-wrapper {
    padding: 50px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    outline: none;
    transition: var(--transition-normal);
}

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

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--primary-cyan);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-normal);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-light);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon.small {
    width: 36px;
    height: 36px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.copyright,
.icp {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --container-padding: 0 40px;
    }
    
    .hero {
        padding: 120px 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .quantum-sphere {
        width: 400px;
        height: 400px;
    }
    
    .ring-1 { width: 320px; height: 320px; }
    .ring-2 { width: 240px; height: 240px; }
    .ring-3 { width: 160px; height: 160px; }
    
    .sphere-core {
        width: 100px;
        height: 100px;
    }
    
    .core-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 60px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .capabilities-visual {
        order: -1;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
        --section-padding: 80px 0;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .quantum-sphere {
        width: 300px;
        height: 300px;
    }
    
    .ring-1 { width: 250px; height: 250px; }
    .ring-2 { width: 180px; height: 180px; }
    .ring-3 { width: 120px; height: 120px; }
    
    .sphere-core {
        width: 80px;
        height: 80px;
    }
    
    .core-text {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-globe {
        width: 300px;
        height: 300px;
    }
    
    .philosophy-quote {
        padding: 40px 20px;
    }
    
    .philosophy-quote blockquote {
        font-size: 1.3rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================
   打印样式
   ============================================ */
@media print {
    .navbar,
    #particleCanvas,
    .grid-overlay,
    .scan-line,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
