/* ========================================
   九野通衢 - Monumental Sci-Fi Design System
   Style: Brutalism + Cinematic
   ======================================== */

:root {
    /* Primary Colors */
    --bg-void: #050507;
    --bg-surface: #1F1F23;
    --bg-elevated: #2a2a30;
    
    /* Text Colors */
    --text-primary: #EAEAEA;
    --text-secondary: #8a8a94;
    --text-muted: #5a5a64;
    
    /* Accent Colors */
    --accent-cyan: #00F0FF;
    --accent-purple: #7000FF;
    --accent-cyan-dim: rgba(0, 240, 255, 0.15);
    --accent-purple-dim: rgba(112, 0, 255, 0.15);
    
    /* Status Colors */
    --status-live: #00FF88;
    --status-classified: #FF3366;
    --status-preview: #FFB800;
    
    /* Borders & Lines */
    --line-subtle: rgba(234, 234, 234, 0.08);
    --line-medium: rgba(234, 234, 234, 0.15);
    
    /* Typography */
    --font-display: 'Inter', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Animation */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 360ms;
    --duration-slow: 600ms;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* The Breathing Core */
.breathing-core {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: coreRingPulse 3s ease-in-out infinite;
}

.core-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
    animation: coreDotPulse 2s ease-in-out infinite;
}

@keyframes coreRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.1; }
}

@keyframes coreDotPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.breathing-core.loading .core-dot {
    animation: coreDotFast 0.5s ease-in-out infinite;
}

@keyframes coreDotFast {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: linear-gradient(to bottom, var(--bg-void) 0%, transparent 100%);
    transition: background var(--ease-smooth) 300ms;
}

.nav.scrolled {
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    flex-shrink: 0;
    object-fit: contain;
    filter: invert(1);
}

.logo-mark {
    display: flex;
    flex-direction: column;
}

.logo-cn {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.logo-en {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color var(--ease-smooth) var(--duration-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width var(--ease-smooth) var(--duration-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: all var(--ease-smooth) var(--duration-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-void);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease-smooth) 300ms;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
}

/* Section Base */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ========================================
   Section 1: The Horizon
   ======================================== */
.section-horizon {
    min-height: 110vh;
    flex-direction: column;
    justify-content: center;
}

.horizon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#dataStrands {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.monolith-structure {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.monolith-tower {
    width: 80px;
    height: 70%;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-void) 100%);
    border: 1px solid var(--line-medium);
    position: relative;
}

.monolith-tower::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
    opacity: 0.3;
}

.chip-ground {
    width: 100%;
    height: 30%;
    background: repeating-linear-gradient(
        90deg,
        var(--bg-surface) 0px,
        var(--bg-surface) 8px,
        var(--bg-void) 8px,
        var(--bg-void) 10px
    );
    opacity: 0.5;
}

.horizon-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-title {
    margin-bottom: var(--space-md);
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub-cn {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
}

.hero-tagline {
    margin-bottom: var(--space-sm);
}

.tagline-primary {
    display: block;
    font-size: 1.125rem;
    color: var(--accent-cyan);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.tagline-secondary {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 4px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    font-size: 0.875rem;
    border: 1px solid var(--line-medium);
    background: transparent;
    transition: all var(--ease-smooth) var(--duration-fast);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left var(--ease-smooth) var(--duration-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.btn-primary:hover {
    background: var(--accent-cyan-dim);
    box-shadow: 0 0 30px var(--accent-cyan-dim);
}

.btn-secondary {
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-en {
    font-size: 0.625rem;
    opacity: 0.5;
    margin-top: 2px;
    font-family: var(--font-mono);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.625rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 0.8; height: 80px; }
}

/* Decode Animation */
.decode-text {
    opacity: 0;
    animation: decodeIn var(--duration-normal) var(--ease-smooth) forwards;
    animation-delay: 0.5s;
}

@keyframes decodeIn {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}


/* ========================================
   Section: Vision / About
   ======================================== */
.section-vision {
    background: var(--bg-void);
    padding: var(--space-xl) 0;
    flex-direction: column;
}

.vision-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-title .title-en {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    letter-spacing: 0.3em;
    margin-bottom: var(--space-xs);
}

.section-title .title-cn {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.vision-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
    border-left: 1px solid var(--line-subtle);
    transition: border-color var(--ease-smooth) var(--duration-fast);
}

.vision-block:hover {
    border-color: var(--accent-cyan);
}

.block-marker {
    display: flex;
    flex-direction: column;
}

.marker-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-xs);
}

.marker-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.block-heading {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.block-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.block-text-en {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.vision-manifesto {
    margin-top: var(--space-xl);
    text-align: center;
}

.manifesto-quote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    border: none;
    position: relative;
    padding: var(--space-md);
}

.manifesto-quote::before,
.manifesto-quote::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: var(--accent-cyan);
}

.manifesto-quote::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.manifesto-quote::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.quote-cn {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: normal;
    margin-top: var(--space-sm);
}

/* ========================================
   Section 2: The Synapse
   ======================================== */
.section-synapse {
    background: var(--bg-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0;
    min-height: auto;
}

.synapse-label {
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
}

/* Synapse layout */
.synapse-visual {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    height: 280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.synapse-panel {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.synapse-bridge-center {
    flex: 1;
    height: 200px;
    min-width: 100px;
    position: relative;
}

#bridgeCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Laptop Device */
.laptop-device {
    width: 190px;
    max-width: 190px;
}

.laptop-screen {
    background: #0d1117;
    border: 1px solid #30363d;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.screen-topbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: #161b22;
    border-bottom: 1px solid #21262d;
}

.topbar-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.topbar-dot.red { background: #ff5f57; }
.topbar-dot.yellow { background: #febc2e; }
.topbar-dot.green { background: #28c840; }

.topbar-title {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.screen-code {
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    line-height: 1.6;
    color: rgba(200, 180, 255, 0.7);
    position: relative;
}

.screen-code .code-line {
    display: block;
    white-space: nowrap;
    font-size: 0.6rem;
    line-height: 1.6;
}

.screen-code i {
    font-style: normal;
}

.screen-code .ln { color: #484f58; display: inline-block; width: 14px; text-align: right; margin-right: 6px; user-select: none; }
.screen-code .kw { color: #ff7b72; }
.screen-code .tp { color: #79c0ff; }
.screen-code .fn { color: #d2a8ff; }

.screen-cursor {
    position: absolute;
    bottom: 10px;
    right: 30px;
    width: 5px;
    height: 12px;
    background: var(--accent-cyan);
    opacity: 0.8;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0; }
}

.laptop-base {
    background: linear-gradient(180deg, #2d333b 0%, #22272e 100%);
    border: 1px solid #30363d;
    border-top: 2px solid #444c56;
    border-radius: 0 0 3px 3px;
    padding: 6px 16px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.laptop-keyboard {
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(90deg, #444c56 0px, #444c56 8px, #2d333b 8px, #2d333b 10px);
    border-radius: 1px;
    opacity: 0.5;
}

.laptop-trackpad {
    width: 36px;
    height: 3px;
    background: #444c56;
    border-radius: 2px;
    opacity: 0.3;
}

/* Robot Figure */
.robot-figure {
    width: 100px;
    height: 160px;
    overflow: hidden;
}

.robot-svg {
    display: block;
    width: 100px;
    height: 160px;
    max-width: 100px;
    max-height: 160px;
}

.robot-eye {
    animation: eyeGlow 3s ease-in-out infinite;
}

.robot-eye:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes eyeGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.chest-light {
    animation: chestPulse 2.5s ease-in-out infinite;
}

.chest-light:nth-of-type(2) { animation-delay: 0.4s; }
.chest-light:nth-of-type(3) { animation-delay: 0.8s; }

@keyframes chestPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.synapse-content {
    text-align: center;
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    padding: 0 var(--space-md);
}

.synapse-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.synapse-desc-en {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Section 3: The Laboratory
   ======================================== */
.section-laboratory {
    background: var(--bg-void);
    padding: var(--space-xl) 0;
    flex-direction: column;
}

.lab-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.lab-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.lab-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* Product Cards */
.product-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--line-subtle);
    padding: var(--space-lg) var(--space-md);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: all var(--ease-smooth) var(--duration-normal);
    overflow: hidden;
}

.product-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* FluxHive Active Card */
.product-card.active {
    border-color: var(--accent-cyan);
}

.product-card.active:hover {
    box-shadow: 0 0 60px var(--accent-cyan-dim);
}

.product-card.active .hexagon-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 15v22l-30 15L0 37V15z' fill='none' stroke='%2300F0FF' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    opacity: 0.5;
    transition: opacity var(--ease-smooth) var(--duration-normal);
}

.product-card.active:hover .hexagon-grid {
    opacity: 0.8;
    animation: hexBreathe 2s ease-in-out infinite;
}

@keyframes hexBreathe {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

.product-card.active .data-flow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--accent-cyan-dim), transparent);
    opacity: 0;
    transition: opacity var(--ease-smooth) var(--duration-normal);
}

.product-card.active:hover .data-flow {
    opacity: 1;
}

/* Locked Cards */
.product-card.locked {
    opacity: 0.7;
}

.product-card.locked:hover {
    opacity: 0.9;
}

.product-card.locked .silhouette-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 180px;
    background: var(--bg-void);
    border-radius: 10px;
    opacity: 0.8;
}

.product-card.locked .rim-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 190px;
    border: 1px solid var(--accent-purple);
    border-radius: 12px;
    opacity: 0.3;
    animation: rimPulse 3s ease-in-out infinite;
}

.product-card.locked:hover .rim-light {
    opacity: 0.6;
}

@keyframes rimPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.product-card.preview .wireframe-city {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, var(--line-subtle) 1px, transparent 1px),
        linear-gradient(var(--line-subtle) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.card-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 10;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.live {
    background: var(--status-live);
    box-shadow: 0 0 10px var(--status-live);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.classified {
    background: var(--status-classified);
    animation: statusBlink 1s ease-in-out infinite;
}

.status-indicator.preview {
    background: var(--status-preview);
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes statusBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 10;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-bottom: var(--space-sm);
    font-family: var(--font-mono);
}

.product-card.locked .card-tag {
    color: var(--accent-purple);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.card-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

.card-desc-en {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-hover-text {
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.card-hover-text .hover-default {
    color: var(--text-muted);
    transition: opacity var(--ease-smooth) var(--duration-fast);
}

.card-hover-text .hover-active {
    color: var(--accent-cyan);
    opacity: 0;
    position: absolute;
    transition: opacity var(--ease-smooth) var(--duration-fast);
}

.product-card.active:hover .hover-default {
    opacity: 0;
}

.product-card.active:hover .hover-active {
    opacity: 1;
    position: relative;
}

.card-hover-text.locked .typewriter-text::after {
    content: 'ACCESS DENIED // COMING 202X';
    color: var(--status-classified);
    opacity: 0;
    transition: opacity var(--ease-smooth) var(--duration-fast);
}

.product-card.locked:hover .typewriter-text::after {
    opacity: 1;
    animation: typewriter 1s steps(25) forwards;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: var(--space-md);
    position: relative;
    z-index: 10;
    transition: color var(--ease-smooth) var(--duration-fast);
}

.card-action:hover {
    color: var(--accent-cyan);
}

.card-action .action-en {
    font-size: 0.625rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.action-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--ease-smooth) var(--duration-fast);
}

.card-action:hover .action-arrow {
    transform: translateX(4px);
}

.card-locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.lock-icon {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    opacity: 0.5;
}


/* ========================================
   Section 4: The Alliance
   ======================================== */
.section-alliance {
    background: var(--bg-surface);
    padding: var(--space-xl) 0;
    flex-direction: column;
}

.alliance-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.alliance-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.constellation-map {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: var(--space-lg);
}

.constellation-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.constellation-svg line {
    stroke: var(--line-subtle);
    stroke-width: 1;
    transition: stroke var(--ease-smooth) var(--duration-fast);
}

.partner-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.partner-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    transition: all var(--ease-smooth) var(--duration-fast);
}

.partner-node:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.node-dot {
    width: 12px;
    height: 12px;
    background: var(--bg-void);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    transition: all var(--ease-smooth) var(--duration-fast);
}

.partner-node:hover .node-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan);
}

.node-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color var(--ease-smooth) var(--duration-fast);
}

.partner-node:hover .node-label {
    color: var(--text-primary);
}

.alliance-cta {
    text-align: center;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* ========================================
   Section 5: Contact
   ======================================== */
.section-contact {
    background: var(--bg-void);
    padding: var(--space-xl) 0;
    flex-direction: column;
    justify-content: center;
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.contact-desc-en {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.contact-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.contact-info {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-email {
    transition: color var(--ease-smooth) var(--duration-fast);
}

.contact-email:hover {
    color: var(--accent-cyan);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--line-subtle);
    background: var(--bg-void);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--ease-smooth) var(--duration-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-icp {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color var(--ease-smooth) var(--duration-fast);
}

.footer-icp:hover {
    color: var(--text-secondary);
}

.footer-icp-bar {
    text-align: center;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 1px solid var(--line-subtle);
}

.footer-copy-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .lab-showcase {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .vision-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .synapse-visual {
        flex-direction: column;
        height: auto;
        gap: var(--space-md);
    }

    .synapse-panel {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        height: auto;
    }

    .synapse-bridge-center {
        width: 80%;
        min-width: unset;
        height: 80px;
    }

    .laptop-device {
        width: 170px;
        max-width: 170px;
    }

    .robot-figure {
        width: 80px;
        height: 130px;
    }

    .robot-svg {
        width: 80px;
        height: 130px;
        max-width: 80px;
        max-height: 130px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .title-main {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .title-sub-cn {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .constellation-map {
        height: 300px;
    }

    .partner-node {
        position: relative;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .partner-nodes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        position: relative;
    }

    .constellation-svg {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .breathing-core {
        bottom: 1rem;
        right: 1rem;
        width: 30px;
        height: 30px;
    }
}

/* Scroll Reveal Animation */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-smooth);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
