:root {
    --bg-deep: #060B18;
    --bg-dark: #0A1428;
    --bg-card: #0F1E36;
    --bg-elevated: #142847;
    --gold: #D4AF7A;
    --gold-light: #E8C99B;
    --gold-dim: #B8945F;
    --text-primary: #E8ECF4;
    --text-secondary: #9AA5BC;
    --text-muted: #5A6B8C;
    --border: rgba(212, 175, 122, 0.16);
    --border-strong: rgba(212, 175, 122, 0.32);
    --shadow-gold: 0 20px 60px -20px rgba(212, 175, 122, 0.25);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* 星空背景 */
.starfield {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(20, 40, 71, 0.6), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(15, 30, 54, 0.5), transparent 50%),
        var(--bg-deep);
}
.starfield::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 25% 15%, rgba(232, 236, 244, 0.7), transparent),
        radial-gradient(1px 1px at 67% 42%, rgba(232, 236, 244, 0.5), transparent),
        radial-gradient(1px 1px at 12% 78%, rgba(212, 175, 122, 0.6), transparent),
        radial-gradient(1px 1px at 88% 25%, rgba(232, 236, 244, 0.4), transparent),
        radial-gradient(1px 1px at 45% 88%, rgba(232, 236, 244, 0.5), transparent),
        radial-gradient(1px 1px at 73% 65%, rgba(212, 175, 122, 0.4), transparent),
        radial-gradient(1px 1px at 33% 33%, rgba(232, 236, 244, 0.3), transparent),
        radial-gradient(1px 1px at 55% 55%, rgba(232, 236, 244, 0.4), transparent);
    background-size: 100% 100%;
    animation: drift 120s linear infinite;
    opacity: 0.8;
}
@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.layer-particles {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/particles.svg') center center / cover no-repeat;
    opacity: 0.5;
}
.layer-noise {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/noise.png') repeat;
    opacity: 0.045; mix-blend-mode: overlay;
}

/* 导航 */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: all 0.4s var(--ease);
    padding: 20px 0;
}
.nav.scrolled {
    background: rgba(6, 11, 24, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 48px; height: 48px; display: block; flex-shrink: 0;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(212, 175, 122, 0.35);
    transition: transform 0.4s var(--ease);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-logo:hover .logo-mark { transform: translateY(-1px); }
.logo-text { font-size: 17px; font-weight: 500; letter-spacing: 2px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
    font-size: 14px; color: var(--text-secondary); position: relative;
    transition: color 0.3s; letter-spacing: 1px;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
    background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative; min-height: 100vh; display: grid; place-items: center;
    text-align: center; z-index: 1; overflow: hidden;
    background: url('../images/hero-bg.svg') center center / cover no-repeat;
}
.hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background: url('../images/grid-perspective.svg') center bottom / 100% auto no-repeat;
    opacity: 0.85;
}
.hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        url('../images/glow-gold.png') right -12% bottom -18% / 620px no-repeat,
        url('../images/glow-blue.png') left -14% top -12% / 520px no-repeat;
    opacity: 0.9; animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.hero-content { position: relative; z-index: 2; padding: 0 32px; }
.hero-eyebrow {
    font-size: 13px; color: var(--gold-dim); letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 28px; font-weight: 500;
}
.hero-title {
    font-size: clamp(48px, 9vw, 96px); font-weight: 200; letter-spacing: 12px;
    margin-bottom: 18px; line-height: 1.1;
    background: linear-gradient(180deg, var(--text-primary) 60%, var(--gold-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(18px, 3vw, 26px); color: var(--gold-light); letter-spacing: 6px;
    font-weight: 300; margin-bottom: 28px;
}
.hero-desc {
    font-size: 16px; color: var(--text-secondary); line-height: 2; margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 38px; font-size: 14px; letter-spacing: 2px; border-radius: 4px;
    transition: all 0.35s var(--ease); cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dim));
    color: var(--bg-deep); font-weight: 600;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -18px rgba(212, 175, 122, 0.45); }
.btn-ghost { border-color: var(--border-strong); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 122, 0.06); }
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 40px; border: 1px solid var(--border-strong); border-radius: 12px;
    display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span {
    width: 3px; height: 8px; background: var(--gold); border-radius: 2px;
    animation: scrolldot 2s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Section */
.section { position: relative; z-index: 1; padding: 120px 0; }
.section::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px;
    background: url('../images/wave-divider.svg') center / 100% 56px no-repeat;
    opacity: 0.38; pointer-events: none; z-index: 0;
}
.section-alt { position: relative; background: linear-gradient(180deg, transparent, rgba(15, 30, 54, 0.4), transparent); }
.section-alt::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/circuit.svg') repeat; opacity: 0.05;
}
.section-head { text-align: center; margin-bottom: 64px; position: relative; }
.section-index {
    display: inline-block; font-size: 13px; color: var(--gold-dim);
    letter-spacing: 4px; margin-bottom: 14px; font-weight: 500;
}
.section-title {
    font-size: clamp(32px, 5vw, 44px); font-weight: 300; letter-spacing: 8px;
    margin-bottom: 10px; color: var(--text-primary);
}
.section-en {
    font-size: 13px; color: var(--text-muted); letter-spacing: 4px; text-transform: uppercase;
}

/* About */
#about::before {
    content: ""; position: absolute; top: 96px; right: 5%; width: 380px; height: 285px;
    background: url('../images/constellation.svg') center / contain no-repeat;
    opacity: 0.45; pointer-events: none; z-index: 0;
}
.about-body { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.lead { font-size: 19px; color: var(--text-primary); margin-bottom: 24px; line-height: 1.9; font-weight: 300; }
.about-body p { color: var(--text-secondary); font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
    background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 40px 32px; transition: all 0.4s var(--ease); position: relative; overflow: hidden;
    box-shadow: inset 0 1px 0 0 transparent;
}
.feature-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/circuit.svg') repeat; opacity: 0.06;
}
.feature-card:nth-child(2)::before { background: url('../images/dot-pattern.svg') repeat; background-size: 40px 40px; opacity: 0.5; }
.feature-card:nth-child(3)::before { background: url('../images/constellation.svg') right center / contain no-repeat; opacity: 0.12; }
.feature-card::after {
    content: ""; position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; z-index: 1;
    border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold);
    opacity: 0.35; transition: opacity 0.4s;
}
.feature-card:hover {
    transform: translateY(-6px); border-color: var(--border-strong); background-color: var(--bg-elevated);
    box-shadow: inset 0 1px 0 0 rgba(212,175,122,0.6), 0 24px 60px -24px rgba(212,175,122,0.35);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px;
    color: var(--gold); border: 1px solid var(--border-strong); border-radius: 12px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 14px; letter-spacing: 2px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.85; }

/* Products */
.product-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.product-card {
    background-color: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
    padding: 44px; position: relative; overflow: hidden; transition: all 0.4s var(--ease);
    box-shadow: inset 0 1px 0 0 transparent;
}
.product-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/circuit.svg') repeat; opacity: 0.05;
}
.product-card::after {
    content: ""; position: absolute; top: 16px; left: 16px; width: 16px; height: 16px; z-index: 1;
    border-top: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold);
    opacity: 0.35; transition: opacity 0.4s;
}
.product-featured { border-color: var(--border-strong); }
.product-featured::after {
    content: ""; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px; z-index: 0;
    background: radial-gradient(circle, rgba(212, 175, 122, 0.1), transparent 60%); filter: blur(30px);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 1px 0 0 rgba(212,175,122,0.6), 0 24px 60px -24px rgba(212,175,122,0.3);
}
.product-card:hover::after { opacity: 1; }
.product-badge {
    position: absolute; top: 28px; right: 28px; font-size: 12px; padding: 5px 14px;
    border-radius: 20px; background: rgba(212, 175, 122, 0.14); color: var(--gold-light);
    letter-spacing: 1px; border: 1px solid var(--border-strong);
}
.product-badge-soon { background: rgba(154, 165, 188, 0.1); color: var(--text-secondary); border-color: rgba(154, 165, 188, 0.2); }
.product-visual {
    width: 84px; height: 84px; border-radius: 20px; margin-bottom: 28px; position: relative;
    display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border);
}
.product-orb { position: absolute; width: 120px; height: 120px; border-radius: 50%; filter: blur(20px); }
.product-orb-1 { background: rgba(212, 175, 122, 0.35); top: -30px; right: -30px; }
.product-orb-2 { background: rgba(90, 107, 140, 0.4); top: -30px; right: -30px; }
.product-glyph { position: relative; font-size: 34px; font-weight: 300; color: var(--gold-light); }
.product-card h3 { font-size: 24px; font-weight: 400; margin-bottom: 8px; letter-spacing: 3px; }
.product-tag { font-size: 13px; color: var(--gold-dim); letter-spacing: 2px; margin-bottom: 18px; }
.product-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 24px; }
.product-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.product-meta li {
    font-size: 12px; color: var(--text-secondary); padding: 6px 14px; border-radius: 6px;
    background: rgba(212, 175, 122, 0.06); border: 1px solid var(--border);
}

/* Team */
.team-intro { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
    text-align: center; padding: 44px 32px; border-radius: 14px; position: relative; overflow: hidden;
    background-color: var(--bg-card); border: 1px solid var(--border); transition: all 0.4s var(--ease);
    box-shadow: inset 0 1px 0 0 transparent;
}
.team-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url('../images/dot-pattern.svg') repeat; background-size: 40px 40px; opacity: 0.4;
}
.team-card:nth-child(2)::before { background: url('../images/constellation.svg') center / contain no-repeat; opacity: 0.1; }
.team-card:nth-child(3)::before { background: url('../images/circuit.svg') repeat; opacity: 0.06; }
.team-card::after {
    content: ""; position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; z-index: 1;
    border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold);
    opacity: 0.35; transition: opacity 0.4s;
}
.team-card:hover {
    transform: translateY(-6px); border-color: var(--border-strong); background-color: var(--bg-elevated);
    box-shadow: inset 0 1px 0 0 rgba(212,175,122,0.6), 0 24px 60px -24px rgba(212,175,122,0.3);
}
.team-card:hover::after { opacity: 1; }
.team-mark {
    width: 64px; height: 64px; margin: 0 auto 24px; display: grid; place-items: center;
    font-size: 26px; font-weight: 300; color: var(--gold-light);
    border: 1px solid var(--border-strong); border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 122, 0.08), transparent);
}
.team-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; letter-spacing: 2px; }
.team-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.85; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.contact-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 48px;
    display: flex; flex-direction: column; gap: 36px;
}
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    color: var(--gold); border: 1px solid var(--border-strong); border-radius: 12px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-label { display: block; font-size: 13px; color: var(--gold-dim); letter-spacing: 2px; margin-bottom: 6px; }
.contact-text p { font-size: 15px; color: var(--text-primary); line-height: 1.7; }
.contact-text a { color: var(--gold-light); transition: color 0.3s; }
.contact-text a:hover { color: var(--gold); }
.contact-aside {
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border); border-radius: 18px; padding: 48px;
    display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; overflow: hidden;
}
.contact-aside::before {
    content: ""; position: absolute; width: 340px; height: 340px; top: -90px; right: -90px;
    background: url('../images/glow-gold.png') center / contain no-repeat; opacity: 0.9; pointer-events: none;
}
.contact-aside-title { font-size: 22px; font-weight: 400; color: var(--gold-light); margin-bottom: 16px; letter-spacing: 3px; position: relative; }
.contact-aside p { font-size: 14px; color: var(--text-secondary); line-height: 1.9; position: relative; }

/* Footer */
.footer {
    position: relative; z-index: 1; border-top: 1px solid var(--border);
    padding: 56px 0; background: rgba(6, 11, 24, 0.6);
}
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-size: 18px; font-weight: 500; letter-spacing: 3px; color: var(--text-primary); }
.footer-en { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.footer-meta p { font-size: 13px; color: var(--text-secondary); line-height: 1.9; }
.footer-legal { text-align: right; }
.footer-legal p { font-size: 13px; color: var(--text-muted); line-height: 1.9; }
.icp a { color: var(--text-secondary); transition: color 0.3s; letter-spacing: 1px; }
.icp a:hover { color: var(--gold-light); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.feature-grid .reveal:nth-child(2), .team-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.feature-grid .reveal:nth-child(3), .team-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.product-grid .reveal:nth-child(2) { transition-delay: 0.14s; }

/* Responsive */
@media (max-width: 880px) {
    .nav-links {
        position: fixed; top: 0; right: 0; height: 100vh; width: 260px; flex-direction: column;
        background: rgba(6, 11, 24, 0.96); backdrop-filter: blur(20px); padding: 100px 40px;
        gap: 28px; transform: translateX(100%); transition: transform 0.4s var(--ease);
        border-left: 1px solid var(--border);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: flex; }
    .feature-grid, .team-grid { grid-template-columns: 1fr; }
    .product-grid, .contact-wrap { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-legal { text-align: left; }
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .hero-title { letter-spacing: 6px; }
    .contact-card { padding: 36px; }
    #about::before { display: none; }
    .layer-particles { opacity: 0.35; }
}
/* Translucent cards */
.feature-card, .team-card, .product-card, .contact-card {
    background: rgba(15, 30, 54, 0.45);
}
.contact-aside {
    background: linear-gradient(135deg, rgba(20, 40, 71, 0.55), rgba(15, 30, 54, 0.4));
}
.feature-card:hover, .team-card:hover, .product-card:hover {
    background: rgba(20, 40, 71, 0.6);
}