/* Palantir风格设计系统 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-blue: #007aff;
    --accent-cyan: #00d4ff;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 代码雨画布 */
.matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.15;
}

/* 背景动画 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

/* 网格线系统 */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-pulse 6s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 浮动节点 */
.floating-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-nodes::before,
.floating-nodes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-nodes::before {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    animation-delay: 0s;
}

.floating-nodes::after {
    width: 500px;
    height: 500px;
    bottom: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) scale(1.15);
        opacity: 0.8;
    }
}

/* 径向波纹 */
.radial-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
}

.radial-waves::before,
.radial-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: wave-expand 6s ease-out infinite;
}

.radial-waves::before {
    animation-delay: 0s;
}

.radial-waves::after {
    animation-delay: 3s;
}

@keyframes wave-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 800px;
        height: 800px;
        opacity: 0;
    }
}

/* 渐变叠加 */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
}

/* 响应式：移动端隐藏文字LOGO */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .logo-image {
        height: 35px;
    }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Hero LOGO展示 */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

.hero-content {
    margin-bottom: 80px;
}

.company-name {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-tagline {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-title .highlight {
    color: var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-metrics {
    display: flex;
    gap: 80px;
    margin-bottom: 50px;
}

.metric {
    text-align: left;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary,
.btn-large {
    padding: 16px 40px;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-primary:hover {
    background: #33ddff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* 数据可视化 */
.data-visualization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.viz-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.viz-chart {
    height: 200px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.viz-stream {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stream-line {
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stream-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: stream 6s linear infinite;
}

@keyframes stream {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.viz-nodes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.node {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 2px solid var(--bg-secondary);
    transition: all 0.3s;
}

.node.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Section通用样式 */
section {
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-tag {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
}

/* 平台卡片 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.platform-card {
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-svg {
    width: 100%;
    height: 100%;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.3s;
}

.platform-card:hover .icon-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

/* 解决方案 */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.solution-item {
    display: flex;
    align-items: center;
    padding: 40px;
    background: var(--bg-secondary);
    transition: all 0.3s;
    gap: 40px;
}

.solution-item:hover {
    background: var(--bg-tertiary);
}

.solution-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    min-width: 60px;
}

.solution-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.solution-content p {
    color: var(--text-secondary);
}

/* 用例展示 */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 60px;
}

.case-metrics {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-metric {
    text-align: center;
}

.case-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.case-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.case-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.case-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.case-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.case-features {
    list-style: none;
}

.case-features li {
    padding: 10px 0;
    color: var(--text-secondary);
}

/* 关于我们 */
.about-section {
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 60px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-cyan);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.company-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.highlight-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.highlight-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.highlight-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* 联系我们 */
.contact-section {
    text-align: center;
    padding: 120px 60px;
}

.contact-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.btn-large {
    padding: 20px 60px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* 页脚 */
.footer {
    padding: 80px 60px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

/* 响应式 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }

    .hero {
        padding: 100px 30px 60px;
    }

    .data-visualization {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .case-study {
        grid-template-columns: 1fr;
    }

    .company-highlights {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .hero-metrics {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .solution-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
