:root {
  --bg: #070b16;
  --bg-2: #0b1120;
  --bg-3: #0e1628;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8eef7;
  --text-dim: #9fb0c8;
  --text-faint: #6b7c96;
  --brand: #22e0c0;
  --brand-2: #38bdf8;
  --brand-glow: rgba(34, 224, 192, 0.35);
  --radius: 16px;
  --maxw: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 100; transition: all .3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  padding: 0 24px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 17px; letter-spacing: .5px; color: #fff; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--brand); letter-spacing: 2px; }

.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color .2s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--brand); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

/* Language switch */
.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch .lang-btn {
  min-width: 32px; height: 28px; border: 0; background: transparent; color: var(--text-dim);
  border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.lang-switch .lang-btn:hover { color: #fff; }
.lang-switch .lang-btn.active { background: var(--brand); color: #04121a; }
.lang-switch-mobile { display: none; gap: 4px; padding: 16px 24px; border-top: 1px solid var(--border); }
.lang-switch-mobile .lang-btn {
  flex: 1; height: 38px; border: 1px solid var(--border); background: transparent; color: var(--text-dim);
  border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.lang-switch-mobile .lang-btn.active { background: var(--brand); color: #04121a; border-color: var(--brand); }

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04121a; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 10px; display: flex; flex-direction: column;
  line-height: 1.15; align-items: center; box-shadow: 0 6px 18px var(--brand-glow);
  transition: transform .2s;
}
.nav-cta span { font-size: 11px; font-weight: 600; opacity: .8; }
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
              radial-gradient(900px 500px at 10% 20%, rgba(34, 224, 192, 0.16), transparent 55%),
              var(--bg);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(34,224,192,.10) 0 1px, transparent 1px),
                    radial-gradient(circle at 80% 70%, rgba(56,189,248,.10) 0 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  opacity: .6;
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 80px; width: 100%; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 1px; color: var(--brand);
  border: 1px solid rgba(34,224,192,.35); background: rgba(34,224,192,.08);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.18; font-weight: 800; color: #fff;
  letter-spacing: 1px; margin-bottom: 22px;
  text-shadow: 0 0 40px rgba(34,224,192,.25);
}
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: var(--text-dim); max-width: 680px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; border: 0;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04121a; box-shadow: 0 10px 30px var(--brand-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px var(--brand-glow); }
.btn-ghost { background: var(--surface); color: #fff; border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid var(--border); padding-top: 32px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: clamp(20px, 3vw, 30px); color: #fff; font-weight: 800; }
.stat span { font-size: 13px; color: var(--text-faint); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--brand);
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}
.section-head h2 { font-size: clamp(26px, 4vw, 40px); color: #fff; font-weight: 800; letter-spacing: .5px; }
.section-desc { color: var(--text-dim); margin-top: 16px; font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; font-size: 16px; }
.about-text strong { color: var(--brand); }
.about-cards { display: flex; flex-direction: column; gap: 18px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .3s, transform .3s; }
.mini-card:hover { border-color: rgba(34,224,192,.4); transform: translateY(-3px); }
.mini-num { font-size: 13px; color: var(--brand); font-weight: 800; letter-spacing: 1px; }
.mini-card h4 { color: #fff; font-size: 18px; margin: 8px 0 8px; }
.mini-card p { color: var(--text-dim); font-size: 14px; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: border-color .3s, transform .3s, background .3s; }
.adv-card:hover { border-color: rgba(34,224,192,.4); transform: translateY(-4px); background: var(--surface-2); }
.adv-icon { font-size: 32px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: rgba(34,224,192,.1); border: 1px solid rgba(34,224,192,.25); border-radius: 14px; margin-bottom: 20px; }
.adv-card h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.adv-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.adv-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.adv-list li { color: var(--text-dim); font-size: 14px; padding-left: 22px; position: relative; }
.adv-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand-glow); }

/* Products tiers */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: border-color .3s, transform .3s; }
.tier:hover { border-color: rgba(34,224,192,.4); transform: translateY(-3px); }
.tier-tag { display: inline-block; font-size: 12px; color: var(--brand); border: 1px solid rgba(34,224,192,.3); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.tier h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.tier p { color: var(--text-dim); font-size: 14px; }

.gallery-title { text-align: center; color: #fff; font-size: 22px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.g-item:hover { transform: translateY(-4px); border-color: rgba(34,224,192,.4); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.g-item img { width: 100%; height: 200px; object-fit: cover; background: #0a0f1c; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { padding: 12px 14px; font-size: 13px; color: var(--text-dim); text-align: center; }
.g-item.real-shot { position: relative; }
.g-item.real-shot::before {
  content: "实拍"; position: absolute; top: 12px; left: 12px;
  background: var(--brand); color: #04121a; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.g-item.real-shot.highlight { border-color: rgba(34,224,192,.55); box-shadow: 0 0 30px rgba(34,224,192,.12); }
html[lang="en"] .g-item.real-shot::before { content: "Real Shot"; }

/* Applications */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, border-color .3s; }
.app-card:hover { transform: translateY(-4px); border-color: rgba(34,224,192,.4); }
.app-img { height: 200px; overflow: hidden; background: #0a0f1c; }
.app-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.app-card:hover .app-img img { transform: scale(1.07); }
.app-card h3 { color: #fff; font-size: 19px; margin: 18px 20px 8px; }
.app-card p { color: var(--text-dim); font-size: 14px; margin: 0 20px 22px; }

/* Qualification */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.qual-item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; font-size: 15px; color: var(--text); transition: border-color .3s; }
.qual-item:hover { border-color: rgba(34,224,192,.4); }
.q-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand-glow); flex-shrink: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.info-ic { font-size: 22px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(34,224,192,.1); border-radius: 11px; flex-shrink: 0; }
.info-row b { color: #fff; font-size: 14px; display: block; margin-bottom: 4px; }
.info-row p { color: var(--text-dim); font-size: 15px; }
.info-row p.en { font-size: 12px; color: var(--text-faint); }
.info-row a { color: var(--brand); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: #fff; font-size: 15px; font-family: inherit; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; }
.form-tip { font-size: 13px; color: var(--text-faint); margin-top: 12px; text-align: center; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; }
.footer-brand strong { color: #fff; font-size: 17px; }
.footer-brand p { color: var(--brand); font-size: 13px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h5 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-copy { text-align: center; color: var(--text-faint); font-size: 13px; }

.beian { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.beian-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-faint); font-size: 13px; transition: color .2s; }
.beian-link:hover { color: var(--brand); }
.beian-icon { width: 18px; height: 18px; display: block; }
.beian-police { gap: 8px; }

/* Float CTA */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04121a;
  font-weight: 700; padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px var(--brand-glow); display: none;
}
.float-cta:hover { transform: translateY(-2px); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .adv-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .tech-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .tech-trends { grid-template-columns: repeat(2, 1fr); }
  .lang-switch { display: none; }
  .lang-switch-mobile { display: flex; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(7,11,22,.97);
    backdrop-filter: blur(14px); padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .35s ease; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-cols { gap: 32px; }
  .float-cta { display: inline-block; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .tech-trends { grid-template-columns: 1fr; }
}

/* ===== 技术应用 Technology ===== */
.tech-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.tech-intro p { color: var(--text-dim); font-size: 16px; margin-bottom: 16px; }
.tech-intro p strong { color: var(--brand); }
.tech-principle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.tech-principle h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.tech-principle ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tech-principle li { color: var(--text-dim); font-size: 14px; padding-left: 24px; position: relative; }
.tech-principle li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--brand); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 36px 0 56px; }
.compare-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-col.trad { border-color: rgba(248,113,113,.3); }
.compare-col.tritium { border-color: rgba(34,224,192,.45); }
.compare-head { padding: 18px 22px; font-weight: 800; font-size: 17px; color: #fff; border-bottom: 1px solid var(--border); }
.compare-col.trad .compare-head { background: rgba(248,113,113,.1); }
.compare-col.tritium .compare-head { background: rgba(34,224,192,.1); }
.compare-row { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-row:last-child { border-bottom: 0; }
.compare-row .dim { color: var(--text-faint); font-size: 13px; }
.compare-col.trad .compare-row .val { color: #fca5a5; }
.compare-col.tritium .compare-row .val { color: var(--brand); }

.tech-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.scene-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: border-color .3s, transform .3s; }
.scene-card:hover { border-color: rgba(34,224,192,.4); transform: translateY(-4px); }
.scene-ic { font-size: 26px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(34,224,192,.1); border: 1px solid rgba(34,224,192,.25); border-radius: 13px; margin-bottom: 18px; }
.scene-card h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.scene-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.scene-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.scene-card ul li { color: var(--text-dim); font-size: 13px; padding-left: 18px; position: relative; }
.scene-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.tech-trends { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trend-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; transition: border-color .3s, transform .3s; }
.trend-card:hover { border-color: rgba(34,224,192,.4); transform: translateY(-3px); }
.trend-num { font-size: 13px; color: var(--brand); font-weight: 800; letter-spacing: 1px; }
.trend-card h4 { color: #fff; font-size: 16px; margin: 8px 0 8px; }
.trend-card p { color: var(--text-dim); font-size: 13px; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,8,16,.94);
  backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 24px; opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); object-fit: contain; }
.lightbox .lb-cap { color: var(--text-dim); font-size: 14px; margin-top: 16px; text-align: center; }
.lightbox .lb-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px;
  border: 1px solid var(--border); background: rgba(255,255,255,.06); color: #fff;
  border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox .lb-close:hover { background: var(--brand); color: #04121a; border-color: var(--brand); }
.lb-zoom { cursor: zoom-in; }

