/* ===== 共享基础样式 - 子页通用 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, var(--bg-glow-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, var(--bg-glow-2) 0%, transparent 50%);
    pointer-events: none; z-index: -1;
}

.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* ===== 导航栏 ===== */
.header {
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    height: 80px;
    background: transparent;
    backdrop-filter: blur(0);
    border-bottom: none;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(10, 6, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar {
    display: flex; justify-content: center; align-items: center;
    height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px;
    position: relative;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; position: absolute; left: 40px;
}
.logo-image { height: 36px; filter: drop-shadow(0 0 10px var(--logo-glow)); transition: all 0.3s ease; }
.logo:hover .logo-image { filter: drop-shadow(0 0 16px var(--logo-glow)); }
.logo-text { font-size: 24px; font-weight: 700; letter-spacing: 2px; color: #FFFFFF; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.3s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-color); }
.hamburger { display: none; }
.language-switcher { display: flex; align-items: center; gap: 8px; margin-left: 20px; }
.lang-btn {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; color: rgba(255, 255, 255, 0.7);
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.3s ease;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.15); color: var(--brand-color); }
.lang-btn.active { background: var(--btn-gradient); color: #fff; border-color: var(--brand-color); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.9) 100%);
}
.hero-content { text-align: center; max-width: 900px; z-index: 1; }
.hero-badge {
    display: inline-block; padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px; color: var(--brand-color);
    font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero h1 {
    font-size: 4.5rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 30%, var(--brand-color) 70%, var(--accent-color) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: gradientShift 6s ease-in-out infinite;
}
.hero-subtitle { font-size: 1.5rem; color: var(--text-gray); margin-bottom: 40px; font-weight: 300; letter-spacing: 1px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-flex; align-items: center; padding: 16px 40px;
    background: var(--btn-gradient); color: #fff; text-decoration: none;
    border-radius: 50px; font-weight: 600; font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); }
.btn-secondary {
    display: inline-flex; align-items: center; padding: 16px 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff; text-decoration: none; border-radius: 50px;
    font-weight: 500; font-size: 16px; transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

/* ===== 通用板块 ===== */
section { padding: 120px 0; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 {
    font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, var(--brand-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p { font-size: 1.1rem; color: var(--text-gray); }

/* ===== Philosophy ===== */
.philosophy { background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0612 100%); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.philosophy-content h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 24px; line-height: 1.3; }
.philosophy-content p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.9; margin-bottom: 20px; }
.philosophy-video { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.philosophy-video video { width: 100%; height: auto; display: block; }

/* ===== Features ===== */
.features { background: linear-gradient(180deg, #0a0612 0%, var(--dark-bg) 100%); }
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px; padding: 40px 32px; text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--feature-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--card-glow);
}
.feature-card .scan-edge {
    position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, transparent, var(--brand-color), transparent);
    opacity: 0; pointer-events: none; z-index: 2;
}
.feature-card:hover .scan-edge { animation: edgeScan 0.6s ease-out forwards; }
@keyframes edgeScan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.feature-icon {
    width: 72px; height: 72px; margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--icon-bg), var(--icon-bg-light));
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; transition: all 0.4s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.7; }

/* ===== Stories ===== */
.stories { background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0612 100%); }
.stories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.story-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); border-color: var(--border-hover); }
.story-content { padding: 32px; }
.story-tag { display: inline-block; padding: 6px 14px; background: var(--tag-bg); color: var(--brand-color); font-size: 13px; font-weight: 500; border-radius: 20px; margin-bottom: 16px; }
.story-icon { margin-right: 8px; font-size: 1.2em; }
.story-content h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.story-content p { font-size: 1rem; color: var(--text-gray); line-height: 1.8; }

/* ===== Specs ===== */
.specs { background: linear-gradient(180deg, #0a0612 0%, var(--dark-bg) 100%); position: relative; overflow: hidden; }
.specs::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, var(--specs-glow-1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, var(--specs-glow-2) 0%, transparent 50%);
    pointer-events: none;
}
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.spec-item {
    background: var(--spec-bg);
    border: 1px solid var(--spec-border);
    border-radius: 20px; padding: 32px 20px; text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.spec-item:hover {
    background: var(--spec-bg-hover);
    border-color: var(--spec-border-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--spec-glow);
}
.spec-item::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), var(--brand-color-alpha), rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg); animation: holoShine 4s ease-in-out infinite; pointer-events: none;
}
@keyframes holoShine { 0%, 100% { transform: rotate(45deg) translateX(-100%); } 50% { transform: rotate(45deg) translateX(100%); } }
.spec-icon {
    width: 48px; height: 48px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--spec-icon-bg), var(--spec-icon-bg-light));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; transition: all 0.3s ease;
}
.spec-item:hover .spec-icon { transform: scale(1.1); }
.spec-icon svg { width: 24px; height: 24px; stroke: var(--brand-color); fill: none; stroke-width: 1.5; }
.spec-value { font-size: 1.8rem; font-weight: 700; color: #ffffff; margin-bottom: 8px; letter-spacing: 1px; text-shadow: 0 0 20px var(--spec-value-glow); position: relative; z-index: 1; }
.spec-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); position: relative; z-index: 1; }
.spec-detail { font-size: 0.75rem; color: var(--accent-color); margin-top: 8px; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; position: relative; z-index: 1; }
.spec-item:hover .spec-detail { opacity: 1; transform: translateY(0); }

/* ===== CTA ===== */
.cta { background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0612 100%); text-align: center; position: relative; overflow: hidden; }
.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 30%, var(--cta-glow-1) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, var(--cta-glow-2) 0%, transparent 40%);
    pointer-events: none;
}
.cta-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, var(--brand-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; position: relative; z-index: 1; }
.cta .btn-primary { padding: 18px 50px; font-weight: 700; font-size: 16px; }
.cta-links { margin-top: 40px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 14px; transition: all 0.3s ease; position: relative; padding: 8px 0; }
.cta-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-color), transparent); transition: width 0.3s ease; }
.cta-links a:hover { color: var(--brand-color); }
.cta-links a:hover::after { width: 100%; }

/* ===== Footer ===== */
footer { padding: 40px 0; background: #050408; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.06); }
footer p { color: var(--text-gray); font-size: 14px; }
.footer {
    background: #0A0612; text-align: center; padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); position: relative;
}
.footer .container {
    display: flex; flex-direction: row; justify-content: space-between;
    align-items: center; width: 100%; max-width: 1200px; padding: 0 40px;
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; transition: transform 0.3s ease; }
.footer-logo:hover { transform: scale(1.05); }
.footer-logo img { height: 36px; width: auto; filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.3)); }
.footer-logo .logo-text { font-size: 22px; color: #FFFFFF; }
.footer-info { text-align: right; }
.footer p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin: 0; }
.footer a { color: #00E0FF; text-decoration: none; transition: all 0.3s ease; }
.footer a:hover { color: #7B61FF; text-shadow: 0 0 10px rgba(0, 224, 255, 0.5); }

/* ===== 滚动动画 ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(10, 6, 18, 0.8); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--scrollbar-thumb, #7c3aed), var(--scrollbar-thumb-light, #a78bfa)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--scrollbar-thumb-hover, #8b5cf6), var(--scrollbar-thumb-hover-light, #c4b5fd)); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-video { width: 100%; }
}
@media (max-width: 768px) {
    .navbar { padding: 0 20px; justify-content: space-between; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10, 6, 18, 0.98); backdrop-filter: blur(12px); flex-direction: column; padding: 20px; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 15px; padding: 12px 0; display: block; }
    .language-switcher { display: flex; order: 3; margin-left: 0; }
    .hamburger { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; font-size: 1.2rem; cursor: pointer; order: 2; }
    section { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-badge { font-size: 12px; padding: 6px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.8rem; }
    .section-header { margin-bottom: 40px; }
    .spec-value { font-size: 1.4rem; }
    .cta h2 { font-size: 1.8rem; }
    .cta p { font-size: 1rem; }
    .btn-primary { padding: 14px 32px; font-size: 14px; }
    .btn-secondary { padding: 14px 32px; font-size: 14px; }
    .feature-card { padding: 28px 20px; }
    .feature-icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .story-content { padding: 24px; }
    .cta-links { gap: 20px; }
    .cta-links a { font-size: 13px; }
    .container { width: 92%; }
    /* 移动设备性能优化 */
    body::after { animation: none; }
    .feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
    .btn-primary::after { display: none; }
}
@media (max-width: 768px) {
    .footer .container { flex-direction: column; align-items: center; gap: 10px; padding: 0 20px; }
    .footer-info { text-align: center; }
    .footer-logo .logo-text { font-size: 20px; }
    .footer p { font-size: 13px; text-align: center; }
}
@media (max-width: 480px) {
    .navbar { padding: 0 16px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.9rem; }
    section { padding: 48px 0; }
    .container { width: 94%; }
    .spec-value { font-size: 1.2rem; }
    .spec-label { font-size: 0.8rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-links { flex-direction: column; align-items: center; gap: 12px; }
    .philosophy-content h2 { font-size: 1.6rem; }
    .philosophy-content p { font-size: 0.95rem; }
    .feature-card h3 { font-size: 1.2rem; }
    .feature-card p { font-size: 0.85rem; }
    .story-content h3 { font-size: 1.2rem; }
    .story-content p { font-size: 0.9rem; }
}