/*
 * 文件名: style.css
 * 描述: 中科欧度科技股份有限公司 官网赛博朋克主题样式
 * 内容: 设计变量、基础排版、导航、组件、首页特效与子页通用模块
 */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
    --color-primary: #00D9FF;             /* 电光蓝 */
    --color-secondary: #9D4EDD;           /* 霓虹紫 */
    --color-accent: #FF6BCB;              /* 激光粉 */
    --color-success: #00F5A0;             /* 霓虹绿 */
    --color-warning: #FFB347;             /* 琥珀橙 */

    --color-background-dark: #030014;     /* 赛博背景 */
    --color-background-light: rgba(8, 6, 27, 0.95);
    --color-surface: rgba(12, 8, 37, 0.92);
    --color-surface-alt: rgba(18, 7, 45, 0.82);

    --color-text-light: #E6F4FF;
    --color-text-bright: #FFFFFF;
    --color-text-muted: #8FA0C3;

    --color-border: rgba(0, 217, 255, 0.24);
    --color-border-strong: rgba(157, 78, 221, 0.45);
    --grid-line: rgba(0, 217, 255, 0.08);

    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-hard: 0 20px 70px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 28px rgba(0, 217, 255, 0.55);
    --glow-secondary: 0 0 36px rgba(157, 78, 221, 0.45);

    --font-family-base: 'Rajdhani', 'Orbitron', 'DIN Alternate', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 1.22rem;
    --font-size-sm: 0.92rem;
    --font-size-xs: 0.78rem;
    --font-weight-bold: 700;

    --spacing-unit: 8px;
    --spacing-xs: calc(var(--spacing-unit) * 0.5);
    --spacing-sm: var(--spacing-unit);
    --spacing-md: calc(var(--spacing-unit) * 2);
    --spacing-lg: calc(var(--spacing-unit) * 3);
    --spacing-xl: calc(var(--spacing-unit) * 5);
    --spacing-xxl: calc(var(--spacing-unit) * 8);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ==========================================================================
   2. Base Resets & Typography
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-light);
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.18), transparent 60%),
        radial-gradient(circle at 80% 0%, rgba(157, 78, 221, 0.15), transparent 55%),
        radial-gradient(circle at 35% 75%, rgba(255, 107, 203, 0.12), transparent 50%),
        var(--color-background-dark);
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.015em;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(180deg, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.18), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

ul {
    list-style: none;
}

p {
    color: var(--color-text-light);
    line-height: 1.8;
}

strong {
    color: var(--color-text-bright);
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

section {
    position: relative;
    padding: var(--spacing-xxl) 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-xl);
}

.grid-col-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-col-3,
.grid-col-4 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-col-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid-col-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .grid-col-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

/* ==========================================================================
   4. Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 5, 25, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.4s ease;
}

.header.is-scrolled {
    background: rgba(6, 5, 25, 0.95);
    box-shadow: var(--shadow-soft);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-bright);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: grid;
    place-items: center;
    color: var(--color-background-dark);
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: -80% 20%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 3.5s infinite;
}

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

.nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    position: absolute;
    top: 72px;
    right: var(--spacing-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.nav-menu.is-open {
    display: flex;
}

@media (min-width: 1024px) {
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-lg);
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .nav-menu.is-open {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--color-text-light);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: var(--spacing-xs) 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

.nav-item:hover > a::after {
    width: 100%;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

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

.dropdown-item a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.dropdown-item a:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--color-primary);
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: rgba(3, 4, 18, 0.6);
    color: var(--color-text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 217, 255, 0.12);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* ==========================================================================
   5. Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(120deg, rgba(0, 217, 255, 0.15), rgba(0, 217, 255, 0.4));
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: var(--glow-primary);
    color: var(--color-text-bright);
}

.btn-primary:hover {
    background: linear-gradient(120deg, rgba(0, 217, 255, 0.4), rgba(0, 217, 255, 0.7));
}

.btn-secondary {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.55);
    color: var(--color-text-light);
    box-shadow: var(--glow-secondary);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.32);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: var(--font-size-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.35);
    color: var(--color-primary);
}

/* ==========================================================================
   6. Card Components & Panels
   ========================================================================== */
.card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 217, 255, 0.18), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hard);
    border-color: rgba(0, 217, 255, 0.55);
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-bright);
}

.card p {
    color: var(--color-text-muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.tag {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.14);
    border: 1px solid rgba(0, 217, 255, 0.3);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */
.hero {
    margin-top: 88px;
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.32), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.28), transparent 55%),
                linear-gradient(140deg, rgba(8, 6, 27, 0.9), rgba(3, 0, 15, 0.6));
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(3, 0, 20, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

#code-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--spacing-xxl);
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

.hero-left h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.2;
    margin: var(--spacing-lg) 0 var(--spacing-md);
    color: var(--color-text-bright);
}

.hero-left p {
    font-size: 1.05rem;
    color: rgba(230, 244, 255, 0.85);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.hero-stats {
    margin-top: var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.hero-stat {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.2);
    background: rgba(8, 10, 35, 0.65);
    backdrop-filter: blur(12px);
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-right {
    position: relative;
}

.holo-globe {
    width: min(420px, 90%);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 217, 255, 0.35), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.25), transparent 65%),
        rgba(6, 5, 25, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.35);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.holo-globe::before,
.holo-globe::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.25);
    animation: pulseBand 8s linear infinite;
}

.holo-globe::after {
    inset: 18%;
    animation-delay: -4s;
}

@keyframes pulseBand {
    0% { transform: rotateX(60deg) rotateZ(0deg); opacity: 0.45; }
    100% { transform: rotateX(60deg) rotateZ(360deg); opacity: 0.45; }
}

.globe-core {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(0, 217, 255, 0.05));
    animation: rotateCore 12s linear infinite;
}

@keyframes rotateCore {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.globe-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 20px var(--color-secondary);
    animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.globe-node::after {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.globe-node:nth-child(1) { top: 18%; left: 32%; animation-delay: 0s; }
.globe-node:nth-child(2) { top: 28%; right: 22%; animation-delay: 1s; }
.globe-node:nth-child(3) { bottom: 18%; left: 42%; animation-delay: 1.5s; }
.globe-node:nth-child(4) { bottom: 28%; right: 28%; animation-delay: 0.5s; }

.globe-caption {
    margin-top: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-sm);
    text-align: center;
}

.globe-caption p {
    margin: 0 auto;
    max-width: 320px;
}

/* ==========================================================================
   8. Section Patterns
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-header .badge {
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-bright);
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0 auto;
}

.products-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.product-card img {
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.product-card a {
    margin-top: var(--spacing-lg);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
}

.product-card a::after {
    content: "→";
    transition: transform 0.3s ease;
}

.product-card:hover a::after {
    transform: translateX(4px);
}

.split-layout {
    display: grid;
    gap: var(--spacing-xxl);
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

.code-terminal {
    background: rgba(6, 3, 22, 0.88);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 217, 255, 0.25);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.code-terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 217, 255, 0.12), transparent 65%);
    opacity: 0.4;
    pointer-events: none;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.terminal-title {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    letter-spacing: 0.04em;
}

pre {
    font-family: "SFMono-Regular", "Fira Code", "Menlo", monospace;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(0, 217, 255, 0.85);
    white-space: pre-wrap;
    word-break: break-word;
}

.feature-list {
    display: grid;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    background: rgba(8, 10, 35, 0.55);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 217, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.metric-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(157, 78, 221, 0.25);
    background: rgba(6, 3, 26, 0.7);
}

.metric-value {
    font-size: 1.8rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.metric-pill {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.2);
    background: rgba(8, 10, 35, 0.6);
    text-align: center;
}

.metric-pill .metric-value {
    font-size: 1.6rem;
    color: var(--color-primary);
}

.metric-pill .metric-label {
    color: rgba(230, 244, 255, 0.75);
    font-size: var(--font-size-sm);
    letter-spacing: 0.05em;
}

.ticker {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: var(--radius-md);
    background: rgba(6, 3, 26, 0.75);
}

.ticker::before,
.ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
}

.ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(6, 3, 26, 0.9), transparent);
}

.ticker::after {
    right: 0;
    background: linear-gradient(270deg, rgba(6, 3, 26, 0.9), transparent);
}

.ticker-list {
    display: flex;
    gap: var(--spacing-xxl);
    padding: var(--spacing-md) 0;
    animation: tickerMove 28s linear infinite;
    width: max-content;
    color: rgba(230, 244, 255, 0.85);
    font-size: var(--font-size-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.ticker-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.16);
    border: 1px solid rgba(0, 217, 255, 0.35);
    color: var(--color-primary);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

/* ==========================================================================
   9. Page-Level Sections (子页复用)
   ========================================================================== */
.page-hero {
    margin-top: 88px;
    padding: 140px 0 64px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(157, 78, 221, 0.1));
    border-bottom: 1px solid var(--color-border-strong);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(0, 217, 255, 0.25), transparent 60%);
    opacity: 0.4;
}

.page-hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-hero a {
    color: var(--color-text-light);
}

.page-hero a:hover {
    color: var(--color-primary);
}

.page-section {
    padding: var(--spacing-xxl) 0;
}

.page-section .container {
    background: rgba(6, 4, 24, 0.75);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-xxl) var(--spacing-xl);
}

.page-section h1,
.page-section h2,
.page-section h3,
.page-section h4 {
    color: var(--color-text-bright);
}

.page-section hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.4), transparent);
    margin: var(--spacing-xxl) 0;
}

.page-section ul {
    padding-left: 1.1rem;
    margin: var(--spacing-md) 0;
    color: var(--color-text-muted);
}

.page-section li {
    margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   10. Article / Rich Text Helpers
   ========================================================================== */
.article {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: var(--spacing-xl);
}

.article header {
    text-align: center;
}

.article-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: var(--color-text-bright);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-cover {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    display: block;
}

.rich-text {
    display: grid;
    gap: var(--spacing-md);
    color: rgba(230, 244, 255, 0.85);
    line-height: 1.9;
}

.rich-text p {
    margin: 0;
}

.rich-text ul {
    list-style: disc;
    padding-left: 1.4rem;
    color: rgba(230, 244, 255, 0.75);
}

.rich-text li {
    margin-bottom: var(--spacing-sm);
}

.article-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.article-footer a {
    color: var(--color-primary);
}

.article-footer a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   11. Timeline & Cards
   ========================================================================== */
.timeline {
    position: relative;
    display: grid;
    gap: var(--spacing-xl);
    padding-left: var(--spacing-xl);
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.6), rgba(157, 78, 221, 0.3));
}

.timeline-item {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 217, 255, 0.15);
    background: rgba(5, 4, 20, 0.75);
    box-shadow: var(--shadow-soft);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -var(--spacing-xl);
    top: var(--spacing-lg);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 217, 255, 0.6);
    background: rgba(0, 217, 255, 0.18);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.45);
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: var(--color-text-bright);
    margin-bottom: var(--spacing-xs);
}

.timeline-item p {
    color: rgba(230, 244, 255, 0.75);
    margin: 0;
}

@media (max-width: 640px) {
    .timeline {
        padding-left: var(--spacing-lg);
    }
    .timeline::before {
        left: 8px;
    }
    .timeline-item {
        padding: var(--spacing-md) var(--spacing-md);
    }
    .timeline-item::before {
        left: -var(--spacing-lg);
    }
}

/* ==========================================================================
   12. Content & Form Layouts
   ========================================================================== */
.info-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-card,
.job-card,
.news-item,
.policy-card {
    background: rgba(8, 10, 35, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
}

.contact-card h2,
.policy-card h2 {
    color: var(--color-text-bright);
    margin-bottom: var(--spacing-sm);
}

.contact-card p strong {
    color: var(--color-text-bright);
}

.form-card {
    background: rgba(6, 4, 24, 0.75);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: var(--spacing-md);
}

.form-field {
    display: grid;
    gap: var(--spacing-xs);
}

.form-field label {
    font-size: var(--font-size-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
    background: rgba(2, 0, 18, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    color: var(--color-text-bright);
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.2);
}

.news-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-item a {
    margin-top: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-weight: 600;
}

.news-item a::after {
    content: \"→\";
    transition: transform 0.3s ease;
}

.news-item a:hover::after {
    transform: translateX(4px);
}

.job-list {
    display: grid;
    gap: var(--spacing-lg);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.badge-outline {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 217, 255, 0.35);
    color: var(--color-primary);
    font-size: var(--font-size-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cta-banner {
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(157, 78, 221, 0.25);
    background: rgba(8, 5, 28, 0.7);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: var(--spacing-md);
    text-align: center;
}

.cta-banner .hero-actions {
    justify-content: center;
}

.policy-card {
    display: grid;
    gap: var(--spacing-md);
    line-height: 1.8;
}

.policy-card ul {
    padding-left: 1.1rem;
    color: rgba(230, 244, 255, 0.85);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.footer {
    background: rgba(2, 0, 18, 0.92);
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

.footer h4 {
    color: var(--color-text-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: grid;
    gap: var(--spacing-xs);
    list-style: none;
    color: var(--color-text-muted);
}

.footer-links a {
    color: rgba(230, 244, 255, 0.7);
}

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

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--font-size-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   14. Responsive Tweaks
   ========================================================================== */
@media (max-width: 767px) {
    .hero {
        padding: 140px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .metrics-strip {
        grid-template-columns: 1fr;
    }
    .page-section .container {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .badge {
        font-size: 0.7rem;
    }
    .hero-left h1 {
        font-size: 2.2rem;
    }
}
