:root { --primary-gold: #d4af37; --neon-cyan: #00f2ff; --deep-ink: #0f172a; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--deep-ink); font-family: 'Noto Serif SC', 'Inter', sans-serif; color: #fff; overflow-x: hidden; }

#loading-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #0f172a; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 1s ease-out; }
#loading-mask.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-dot { width: 10px; height: 10px; background: #d4af37; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(0.8); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }

#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.bg-pattern { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.03; pointer-events: none; }
.navbar { padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; z-index: 100; backdrop-filter: blur(5px); }
.gold-text { background: linear-gradient(to right, #bf953f, #fcf6ba, #aa771c); -webkit-background-clip: text; color: transparent; font-weight: 900; }

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; }
.hero h1 { font-size: 4rem; margin-bottom: 1rem; }
.btn-group { margin-top: 2rem; display: flex; gap: 1rem; }
.btn-primary, .btn-secondary { padding: 0.8rem 2rem; border: none; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-primary { background: var(--primary-gold); color: #000; }
.btn-secondary { background: transparent; border: 1px solid var(--neon-cyan); color: var(--neon-cyan); }

.section-dark, .section-light { padding: 5rem 10%; min-height: 60vh; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.glass-card { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(212, 175, 55, 0.1); padding: 2rem; transition: 0.4s; }
.glass-card:hover { border-color: var(--primary-gold); transform: translateY(-10px); }
.corner-accent { position: absolute; top: 0; right: 0; width: 40px; height: 40px; border-top: 2px solid #00f2ff; border-right: 2px solid #00f2ff; opacity: 0; transition: 0.3s; }
.glass-card:hover .corner-accent { opacity: 1; }

/* 时间轴 */
.timeline-container { position: relative; padding: 4rem 0; display: flex; justify-content: space-around; flex-wrap: wrap; }
.timeline-line { position: absolute; top: 50%; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, transparent, #d4af37, transparent); }
.timeline-item { text-align: center; z-index: 2; background: #0f172a; padding: 0 1rem; margin: 1rem 0; }
.year { font-size: 1.5rem; color: #00f2ff; font-weight: bold; display: block; margin-bottom: 0.5rem; }

/* 地图 */
.map-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.china-map { width: 100%; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2)); }
.map-point { fill: #d4af37; cursor: pointer; transition: 0.3s; }
.map-point:hover { r: 8; fill: #00f2ff; }
.tooltip-hidden { opacity: 0; pointer-events: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 200px; z-index: 10; }

/* 生态轮播 */
.carousel-container { display: flex; gap: 2rem; overflow-x: auto; padding: 2rem 5%; scroll-snap-type: x mandatory; }
.eco-card { flex: 0 0 300px; scroll-snap-align: center; background: rgba(255,255,255,0.05); padding: 2rem; border: 1px solid #333; transition: 0.3s; }
.eco-card:hover { border-color: #00f2ff; box-shadow: 0 0 20px rgba(0, 242, 255, 0.1); }

.contact-form { max-width: 500px; margin: 2rem auto; display: flex; flex-direction: column; gap: 1rem; }
.contact-form input { padding: 1rem; background: rgba(255,255,255,0.1); border: 1px solid #333; color: #fff; }
footer { text-align: center; padding: 2rem; color: #666; font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .product-grid, .timeline-container { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .btn-group { flex-direction: column; width: 80%; }
    .timeline-line { display: none; }
}
