/* ===========================
   NEBULA - 科幻风格软件发布网站
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* ========== 变量 ========== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d1a;
    --bg-card: rgba(15, 15, 35, 0.7);
    --color-cyan: #00f0ff;
    --color-purple: #b44dff;
    --color-magenta: #ff2d95;
    --color-blue: #3366ff;
    --color-green: #00ff88;
    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --border-glow: rgba(0, 240, 255, 0.3);
    --border-dim: rgba(255, 255, 255, 0.08);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', 'Source Sans Pro', sans-serif;
    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.2);
    --glow-purple: 0 0 10px rgba(180, 77, 255, 0.5), 0 0 40px rgba(180, 77, 255, 0.2);
    --glow-magenta: 0 0 10px rgba(255, 45, 149, 0.5), 0 0 40px rgba(255, 45, 149, 0.2);
}

/* ========== 重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

::selection {
    background: var(--color-cyan);
    color: var(--bg-primary);
}

/* ========== 粒子背景 ========== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== 网格背景 ========== */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

/* ========== 扫描线 ========== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 40px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dim);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-cyan);
}

.logo-icon {
    filter: drop-shadow(0 0 8px var(--color-cyan));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 8px var(--color-cyan)); }
    50% { filter: drop-shadow(0 0 20px var(--color-cyan)) drop-shadow(0 0 40px var(--color-cyan)); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--color-cyan);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: width 0.3s ease;
    box-shadow: var(--glow-cyan);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-glass {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-neon {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-neon:hover {
    background: var(--color-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

/* ========== 英雄区域 ========== */
.hero {
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 40px;
    max-width: 1800px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 0 0 440px;
    max-width: 440px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    color: var(--color-cyan);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--color-cyan);
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.glitch-text {
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--color-magenta);
    animation: glitch-shift 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text::after {
    color: var(--color-cyan);
    animation: glitch-shift 2s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-shift {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 520px;
}

.highlight {
    color: var(--color-cyan);
    font-weight: 700;
    font-family: var(--font-display);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    border: none;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-icon {
    font-family: var(--font-display);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== 英雄右侧产品展示 ========== */
.hero-products {
    flex: 1;
    min-width: 0;
    position: relative;
}

.hero-products-tag {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--color-cyan);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    text-align: center;
}

/* 英雄内的轮播容器 */
.hero .products-carousel {
    max-width: none;
    padding: 0 44px;
}

/* 英雄内的产品卡片 - 紧凑版 */
.hero .product-card {
    border-radius: 16px;
}

.hero .product-card-main {
    padding: 32px 44px;
    gap: 40px;
}

.hero .product-image {
    width: 520px;
    height: 340px;
    border-radius: 10px;
}

.hero .product-rank {
    font-size: 2.2rem;
    min-width: 44px;
}

.hero .product-name {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.hero .product-desc {
    font-size: 0.95rem;
    margin-bottom: 14px;
    max-width: 480px;
}

.hero .product-tags {
    margin-bottom: 10px;
    gap: 6px;
}

.hero .product-tags span {
    font-size: 0.7rem;
    padding: 2px 8px;
}

.hero .product-meta {
    margin-bottom: 10px;
    gap: 16px;
}

.hero .btn-product {
    padding: 8px 20px;
    font-size: 0.78rem;
}

/* 英雄内下拉按钮紧凑版 */
.hero .product-dropdown-btn {
    padding: 12px 0;
    font-size: 0.78rem;
}

.hero .product-dropdown-btn-text {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
}

/* 英雄内详情面板 */
.hero .product-detail-inner {
    padding: 24px 36px 28px;
    gap: 20px 32px;
    grid-template-columns: 1fr 1fr;
}

.hero .product-detail-section h4 {
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.hero .product-detail-section ul li {
    font-size: 0.8rem;
    padding: 3px 0;
}

.hero .product-detail-stat {
    padding: 10px 16px;
}

.hero .product-detail-stat .stat-value {
    font-size: 1.2rem;
}

/* 英雄内轮播箭头 */
.hero .carousel-arrow {
    width: 36px;
    height: 36px;
}

.hero .carousel-prev {
    left: 4px;
}

.hero .carousel-next {
    right: 4px;
}

.hero .carousel-dots {
    margin-top: 20px;
}

.hero .carousel-dot {
    width: 10px;
    height: 10px;
}

/* ========== 动画工具 ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== 通用 Section ========== */
.section {
    position: relative;
    z-index: 2;
    padding: 10px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ========== 轨道节点 ========== */
.orbit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-cyan), 0 0 25px var(--color-cyan);
    transform: translate(-50%, -50%);
    animation: node-pulse 1.5s ease-in-out infinite;
}

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 8px var(--color-cyan); }
    50% { box-shadow: 0 0 20px var(--color-cyan), 0 0 40px var(--color-cyan); }
}

/* ========== 产品矩阵 ========== */
.products-matrix {
    padding-top: 60px;
}

/* 轮播容器 */
.products-carousel {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 70px;
}

/* 轮播轨道 */
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    border-radius: 20px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* 产品卡片-轮播模式 */
.product-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
    min-width: 0;
}

/* 产品卡片主行 */
.product-card-main {
    display: flex;
    padding: 56px 80px;
    gap: 60px;
    align-items: center;
    transition: padding 0.45s ease;
}

.product-card:hover {
    transform: none;
}

/* 不同产品的强调色 */
.product-card[data-accent="cyan"] {
    --card-accent: var(--color-cyan);
}
.product-card[data-accent="cyan"]:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card[data-accent="purple"] {
    --card-accent: var(--color-purple);
}
.product-card[data-accent="purple"]:hover {
    border-color: rgba(180, 77, 255, 0.4);
    box-shadow: 0 0 60px rgba(180, 77, 255, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card[data-accent="magenta"] {
    --card-accent: var(--color-magenta);
}
.product-card[data-accent="magenta"]:hover {
    border-color: rgba(255, 45, 149, 0.4);
    box-shadow: 0 0 60px rgba(255, 45, 149, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card[data-accent="green"] {
    --card-accent: var(--color-green);
}
.product-card[data-accent="green"]:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-card[data-accent="blue"] {
    --card-accent: var(--color-blue);
}
.product-card[data-accent="blue"]:hover {
    border-color: rgba(51, 102, 255, 0.4);
    box-shadow: 0 0 60px rgba(51, 102, 255, 0.12), 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* 左侧光效 */
.product-glare {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--card-accent, var(--color-cyan));
    box-shadow: 0 0 15px var(--card-accent, var(--color-cyan)), 0 0 30px var(--card-accent, var(--color-cyan));
    opacity: 0.5;
    transition: opacity 0.5s ease;
    border-radius: 3px;
}

.product-card:hover .product-glare {
    opacity: 1;
}

/* 排名数字 */
.product-rank {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
    min-width: 50px;
    text-align: center;
    transition: all 0.5s ease;
}

.product-card:hover .product-rank {
    color: var(--card-accent, var(--color-cyan));
    -webkit-text-stroke-color: var(--card-accent, var(--color-cyan));
    text-shadow: 0 0 20px var(--card-accent, var(--color-cyan));
}

/* 图标 */
.product-icon {
    color: var(--card-accent, var(--color-cyan));
    flex-shrink: 0;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 8px var(--card-accent, var(--color-cyan)));
}

.product-card:hover .product-icon {
    filter: drop-shadow(0 0 20px var(--card-accent, var(--color-cyan)));
    transform: scale(1.1);
}

/* 产品信息 */
.product-info {
    flex: 1;
}

.product-label {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--card-accent, var(--color-cyan));
    letter-spacing: 2px;
    font-family: var(--font-display);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-name-accent {
    color: var(--card-accent, var(--color-cyan));
    text-shadow: 0 0 15px var(--card-accent, var(--color-cyan));
}

.product-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 600px;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.product-tags span {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.product-card:hover .product-tags span {
    border-color: rgba(255, 255, 255, 0.12);
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
}

.product-version {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--card-accent, var(--color-cyan));
}

.product-users {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-product {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--card-accent, var(--color-cyan));
    color: var(--card-accent, var(--color-cyan));
    font-size: 0.85rem;
    font-family: var(--font-body);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-product:hover {
    background: var(--card-accent, var(--color-cyan));
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* 产品展示图片 */
.product-image {
    flex-shrink: 0;
    width: 520px;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--card-accent, var(--color-cyan)) 0%,
        transparent 50%,
        transparent 100%
    );
    opacity: 0.08;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card:hover .product-image {
    border-color: var(--card-accent, var(--color-cyan));
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card:hover .product-image-overlay {
    opacity: 0.18;
}

/* ========== 下拉详情按钮 ========== */
.product-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-dim);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.35s ease;
    position: relative;
    z-index: 5;
}

.product-dropdown-btn:hover {
    color: var(--card-accent, var(--color-cyan));
    background: rgba(255, 255, 255, 0.02);
}

.product-dropdown-btn .dropdown-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.35s ease;
    color: inherit;
}

.product-card.expanded .product-dropdown-btn .dropdown-chevron {
    transform: rotate(180deg);
}

.product-dropdown-btn-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ========== 详情面板 ========== */
.product-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-top: 1px solid transparent;
    background: rgba(0, 0, 0, 0.2);
}

.product-card.expanded .product-detail {
    max-height: 1000px;
    border-top-color: var(--border-dim);
}

.product-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
    padding: 40px 80px 44px;
}

.product-detail-section h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--card-accent, var(--color-cyan));
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.product-detail-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-detail-section ul {
    list-style: none;
    padding: 0;
}

.product-detail-section ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 5px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.7;
}

.product-detail-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--card-accent, var(--color-cyan));
    font-size: 0.7rem;
}

.product-detail-highlight {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.product-detail-stat {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}

.product-detail-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--card-accent, var(--color-cyan));
    text-shadow: 0 0 15px var(--card-accent, var(--color-cyan));
    display: block;
    margin-bottom: 4px;
}

.product-detail-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== 轮播箭头 ========== */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.1);
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

/* ========== 轮播指示器 ========== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
    position: relative;
}

.carousel-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.4s ease;
}

.carousel-dot.active {
    border-color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.carousel-dot.active::after {
    background: var(--color-cyan);
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.8);
}

.carousel-dot:hover {
    border-color: var(--color-cyan);
}

/* ========== 版本发布 ========== */
#changelog.section {
    max-width: 1800px;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.release-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.release-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.1);
}

.release-card.featured {
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(180, 77, 255, 0.05), var(--bg-card));
}

.release-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    font-family: var(--font-display);
}

.release-version {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    margin-bottom: 4px;
}

.release-codename {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.release-date {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.release-features {
    list-style: none;
    margin-bottom: 20px;
}

.release-features li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 16px;
}

.release-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--color-cyan);
    font-family: var(--font-display);
    font-size: 0.7rem;
}

.release-size {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-download {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    border: none;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    box-shadow: var(--glow-cyan);
    transform: translateY(-1px);
}

.btn-download-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-outline:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

/* ========== 核心特性 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    color: var(--color-cyan);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    color: var(--color-purple);
    filter: drop-shadow(0 0 15px var(--color-purple));
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-metric {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.feature-metric span {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* ========== 性能基准 ========== */
.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.perf-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 36px;
}

.perf-bar-container {
    margin-bottom: 28px;
}

.perf-bar-container:last-child {
    margin-bottom: 0;
}

.perf-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.perf-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    position: relative;
}

.perf-fill {
    height: 100%;
    width: var(--perf);
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    position: relative;
    animation: bar-fill 1.5s ease-out;
}

.perf-fill.secondary {
    background: linear-gradient(90deg, var(--color-purple), var(--color-magenta));
    box-shadow: 0 0 15px rgba(180, 77, 255, 0.4);
}

.perf-fill.tertiary {
    background: linear-gradient(90deg, #666, #444);
    box-shadow: none;
}

@keyframes bar-fill {
    from { width: 0; }
    to { width: var(--perf); }
}

.perf-value {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--color-cyan);
    text-align: right;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.perf-carousel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.perf-metric-big {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.perf-metric-big:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-value span {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-shadow: none;
}

.metric-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* ========== 下载中心 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.download-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.1);
}

.download-platform {
    color: var(--color-cyan);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.download-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.download-arch {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--color-cyan);
    margin-bottom: 20px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.download-card .btn-download {
    margin-bottom: 12px;
}

.download-checksum {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* ========== 更新日志 ========== */
.timeline {
    position: relative;
    padding-left: 40px;

    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 15px var(--color-cyan);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--color-purple);
    box-shadow: 0 0 15px var(--color-purple);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.06);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.timeline-version {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.timeline-codename {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.timeline-date {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-changes {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
}

.change-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: 6px;
    font-family: var(--font-display);
}

.change-tag.added {
    background: rgba(0, 255, 136, 0.15);
    color: var(--color-green);
}

.change-tag.improved {
    background: rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
}

.change-tag.fixed {
    background: rgba(255, 45, 149, 0.15);
    color: var(--color-magenta);
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 2;
    padding: 60px 40px 30px;
    border-top: 1px solid var(--border-dim);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-copy {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-cyan);
}

.footer-line {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border-dim);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-content {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-products {
        width: 100%;
    }

    .hero .product-card-main {
        padding: 28px 32px;
        gap: 28px;
    }

    .hero .product-image {
        width: 420px;
        height: 280px;
    }

    .products-carousel {
        padding: 0 40px;
    }

    .product-card-main {
        padding: 40px 48px;
        gap: 36px;
    }

    .product-image {
        width: 380px;
        height: 250px;
    }

    .product-detail-inner {
        padding: 32px 48px 36px;
        gap: 24px;
    }

    .releases-grid,
    .features-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perf-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 80px 16px 30px;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero .product-card-main {
        flex-direction: column;
        text-align: center;
        padding: 20px 20px;
        gap: 14px;
    }

    .hero .product-image {
        width: 100%;
        height: 280px;
    }

    .hero .product-detail-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 20px 22px;
    }

    .hero .product-name {
        font-size: 1.3rem;
    }

    .hero .product-rank {
        font-size: 1.6rem;
    }

    .hero .product-tags {
        justify-content: center;
    }

    .hero .product-meta {
        justify-content: center;
    }

    .hero .product-detail-highlight {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero .products-carousel {
        padding: 0 12px;
    }

    .hero .carousel-arrow {
        width: 30px;
        height: 30px;
    }

    .hero .carousel-prev {
        left: 0;
    }

    .hero .carousel-next {
        right: 0;
    }

    .hero .carousel-dots {
        margin-top: 14px;
    }

    .section {
        padding: 60px 20px;
    }

    .releases-grid,
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-matrix {
        padding-top: 40px;
    }

    .products-carousel {
        padding: 0 16px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-prev {
        left: 2px;
    }

    .carousel-next {
        right: 2px;
    }

    .product-card-main {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 16px;
    }

    .product-detail-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 24px 28px;
    }

    .product-glare {
        width: 100%;
        height: 3px;
        bottom: auto;
    }

    .product-rank {
        font-size: 1.8rem;
        min-width: auto;
    }

    .product-name {
        font-size: 1.4rem;
    }

    .product-desc {
        max-width: 100%;
    }

    .product-tags {
        justify-content: center;
    }

    .product-meta {
        justify-content: center;
    }

    .product-image {
        width: 100%;
        height: 200px;
    }

    .product-detail-stat {
        padding: 12px 16px;
    }

    .product-detail-highlight {
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .perf-metric-big .metric-value {
        font-size: 2.2rem;
    }
}

/* ========== 滚动显示动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 图片灯箱 ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 45, 149, 0.2);
    border-color: var(--color-magenta);
    color: var(--color-magenta);
    box-shadow: var(--glow-magenta);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.1);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-img {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: zoom-out;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    padding: 6px 20px;
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

/* 灯箱响应式 */
@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-img {
        max-width: 95vw;
        max-height: 80vh;
    }

    .lightbox-counter {
        bottom: 16px;
        font-size: 0.75rem;
        padding: 4px 14px;
    }
}
