﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1045ba;
    --primary-purple: #E23AFB;
    --secondary-blue: #2a5298;
    --accent-color: #3DF8F8;
    --hero-overlay-color: rgba(127, 255, 212, 0.32);
    --light-bg: #f5f7fa;
    --dark-text: #333;
    --light-text: #666;

    /* 深海岩层配色（参考 Hyper-seq 宣传册） */
    --rock-navy-0: #05070c;
    --rock-navy-1: #0a1120;
    --rock-navy-2: #121d34;
    --rock-navy-3: #1b2c4a;
    --ice-blue: #cfe8ff;
    --ice-blue-dim: #9cc6ec;
    --electric-blue: #5996FF;
    --coral-accent: #ff8a5c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ice-blue);
    line-height: 1.6;
    position: relative;
    background:
        radial-gradient(ellipse 60% 45% at 18% 10%, rgba(29, 63, 111, 0.175), transparent 60%),
        radial-gradient(ellipse 55% 40% at 82% 6%, rgba(38, 77, 156, 0.304), transparent 60%),
        radial-gradient(ellipse 70% 55% at 85% 92%, rgba(14, 71, 95, 0.058), transparent 65%),
        /* repeating-linear-gradient(152deg, rgba(96, 136, 188, 0.06) 0px, rgba(33, 83, 148, 0.06) 2px, transparent 2px, transparent 26px),
        repeating-linear-gradient(64deg, rgba(31, 55, 110, 0.25) 0px, rgba(15, 30, 66, 0.25) 3px, transparent 3px, transparent 40px), */
        linear-gradient(180deg, var(--rock-navy-2) 0%, var(--rock-navy-3) 45%, var(--rock-navy-2) 75%, var(--rock-navy-1) 100%);
    background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='bn'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.06' numOctaves='4' seed='7' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='gamma' amplitude='1' exponent='2.2' offset='0'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23bn)'/></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='bm'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23bm)'/></svg>");
    background-size: 620px 620px, 180px 180px;
    background-attachment: fixed, fixed;
}

/* 全站跟随鼠标的粒子背景（固定在视口，任意页面、任意滚动位置都可见） */
.site-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 英雄部分 —— 与全站统一的深海岩层背景（由 body 提供），此处保持透明 */
.hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    max-height: 550px;
    overflow: hidden;
    background: transparent;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-slide.active {
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease-in;
}

.hero-brand-slide.active {
    justify-content: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-slide>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    z-index: 0;
    filter: grayscale(0.3) brightness(0.7);
}

.hero-brand-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(28, 45, 74, 0.2), rgba(5, 7, 12, 0.3) 80%);
}

.hero-brand-slide>img {
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-left: 60px;
    max-width: 600px;
}

.hero-brand-content {
    max-width: 960px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-brand-heading {
    display: flex;
    align-items: center;
    gap: 34px;
}

.hero-brand-copy {
    min-width: 0;
}

.hero-brand-logo {
    height: 12rem;
    width: auto;
    flex: 0 0 auto;
}

.hero-eyebrow-line {
    display: flex;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ice-blue);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-hyphen {
    color: var(--electric-blue);
}

.hero-mid-dot {
    color: var(--electric-blue);
    opacity: 0.85;
}

.hero-main-title {
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--ice-blue);
    text-shadow: 0 0 34px rgba(56, 189, 248, 0.28);
    margin-bottom: 12px;
}

.hero-dash {
    display: inline-block;
    color: var(--electric-blue);
    font-weight: 500;
    margin-right: 0.15em;
    opacity: 0.75;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 1px solid rgba(156, 198, 236, 0.5);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ice-blue);
    background: rgba(56, 189, 248, 0.06);
    backdrop-filter: blur(2px);
}

.hero-brand-btn {
    display: block;
    margin-top: 12px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #00a8cc 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
}

/* 向下滚动提示 */
.scroll-cue {
    position: absolute;
    left: 60px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(207, 232, 255, 0.65);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.scroll-cue-line {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, rgba(207, 232, 255, 0.75), transparent);
    animation: scrollCueMove 2.2s ease-in-out infinite;
}

@keyframes scrollCueMove {
    0% {
        transform: scaleY(0.3);
        transform-origin: top;
        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    100% {
        transform: scaleY(0.3);
        transform-origin: bottom;
        opacity: 0.4;
    }
}

/* 关键词标记带 */
.marquee-strip {
    background: transparent;
    border-top: 1px solid rgba(156, 198, 236, 0.12);
    border-bottom: 1px solid rgba(156, 198, 236, 0.12);
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    animation: marqueeScroll 26s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--ice-blue-dim);
}

.marquee-track .dot {
    color: var(--electric-blue);
    opacity: 0.7;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    .scroll-cue-line {
        animation: none;
    }
}

/* 分区通用：扫描线签名效果 + 深色岩层底色 */
.reveal-section {
    position: relative;
    overflow: hidden;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-heading .eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--electric-blue);
    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: 2.3rem;
    color: var(--ice-blue);
    letter-spacing: 0.02em;
}

/* 产品预览部分 —— 透明背景，显示body背景 */
.products-preview {
    padding: 110px 0;
    background: transparent;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1200px;
}

.preview-card {
    position: relative;
    background: linear-gradient(160deg, rgba(27, 44, 74, 0.55) 0%, rgba(10, 17, 32, 0.75) 100%);
    padding: 30px 26px;
    border-radius: 14px;
    border: 1px solid rgba(156, 198, 236, 0.14);
    backdrop-filter: blur(6px);
    transition: border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
}

.preview-card.is-tilting,
.preview-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 40px rgba(2, 6, 14, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.card-index {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(156, 198, 236, 0.45);
}

.preview-image-wrap {
    background: rgba(5, 7, 12, 0.6);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
    padding: 10px;
}

.preview-card h3 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--ice-blue);
}

.preview-card p {
    color: rgba(207, 232, 255, 0.62);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--ice-blue);
}

/* 学术与动态部分 —— 透明背景 */
.academic-news {
    padding: 110px 0;
    background: transparent;
}

.section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.section-col h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 26px;
    color: var(--ice-blue);
    border-bottom: 1px solid rgba(156, 198, 236, 0.25);
    padding-bottom: 15px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 20px;
    border-left: 2px solid var(--electric-blue);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    transition: all 0.3s;
}

.news-item:hover {
    background: rgba(56, 189, 248, 0.08);
    transform: translateX(8px);
}

.news-item h4 {
    margin-bottom: 8px;
    color: var(--ice-blue);
    font-weight: 600;
}

.news-item p {
    font-size: 0.9rem;
    color: rgba(207, 232, 255, 0.55);
    margin-bottom: 10px;
}

.news-item a,
.read-more {
    color: var(--electric-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-item a:hover,
.read-more:hover {
    color: var(--ice-blue);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-brand-heading {
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .hero-brand-logo {
        height: 6.8rem;
    }

    .hero-brand-btn {
        margin-top: 12px;
    }

    .hero-eyebrow-line {
        font-size: 1.54rem;
        letter-spacing: 0.2em;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-badge-row {
        justify-content: center;
    }

    .products-preview h2,
    .section-heading h2 {
        font-size: 1.9rem;
    }

    .section-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .scroll-cue {
        left: 20px;
    }

    .marquee-track {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 340px;
    }

    .hero-content {
        padding-left: 20px;
    }

    .hero-brand-heading {
        gap: 14px;
    }

    .hero-brand-logo {
        height: 5rem;
    }

    .hero-brand-btn {
        margin-top: 12px;
    }

    .hero-main-title {
        font-size: 1.6rem;
    }

    .hero-eyebrow-line {
        font-size: 1.31rem;
        letter-spacing: 0.14em;
    }
}



.home-video-section {
    background: transparent;
    padding: 100px 20px;
}

.home-video-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
    gap: 40px;
    align-items: center;
}

.home-video-copy h2 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    color: var(--ice-blue);
    font-size: 1.9rem;
    margin-bottom: 14px;
}

.home-video-copy p {
    color: rgba(207, 232, 255, 0.62);
    line-height: 1.8;
    margin-bottom: 14px;
}

.section-kicker {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    color: var(--electric-blue);
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.home-video-media {
    position: relative;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(156, 198, 236, 0.08));
}

.home-video-layout video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #05070c;
    border-radius: 11px;
    box-shadow: 0 20px 45px rgba(2, 6, 14, 0.55);
}

@media (max-width: 768px) {
    .home-video-layout {
        grid-template-columns: 1fr;
    }
}