/* 探索者三维官网 — 深蓝 + 金色扁平正式风格 */
:root {
  --navy: #0b1f3f;
  --navy-mid: #15325e;
  --navy-light: #1f4a82;
  --gold: #c9a227;
  --gold-light: #f3d774;
  --gold-dark: #a17d12;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2937;
  --text-light: #4b5563;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(11, 31, 63, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 31, 63, 0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body[lang="en"] {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

/* 顶部导航 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(11, 31, 63, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  height: var(--header-h);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand-logo { height: 44px; width: auto; }
.brand-name { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; }
.brand-text small { display: block; color: var(--gold-light); font-size: 0.65rem; letter-spacing: 0.06em; opacity: 0.9; }

.main-nav {
  display: flex;
  gap: 0.4rem;
}

.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  outline: none;
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-toggle {
  display: flex; align-items: center; gap: 0.25rem;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: border-color .2s, background .2s;
}

.lang-toggle:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); }
.lang-current { color: var(--gold-light); font-weight: 700; }
.lang-sep { color: rgba(255,255,255,0.5); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px; height: 40px;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; margin-inline: auto;
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/images/hero-bg.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,63,0.92) 0%, rgba(11,31,63,0.72) 50%, rgba(11,31,63,0.85) 100%);
  z-index: -1;
}

.hero-content { position: relative; z-index: 1; max-width: 880px; }
.hero-label {
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201,162,39,0.35); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stats .stat { text-align: center; }
.hero-stats .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.hero-stats .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 0.4rem; }

/* Sections common */
.section { padding: 5rem 0; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-head p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
}

.grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center;
}

/* About */
.about { background: var(--surface); }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
}
.about-badge {
  position: absolute; right: -1rem; bottom: 2rem;
  background: var(--navy); color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.6rem; color: var(--gold-light); line-height: 1; }
.about-badge span { font-size: 0.85rem; opacity: 0.9; }

.about-text p { color: var(--text-light); margin: 0 0 1rem; }
.about-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.about-list li {
  padding: 0.6rem 0 0.6rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
}

/* Stats bar */
.stats-bar { background: var(--navy); color: #fff; padding: 3rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-card { text-align: center; }
.stat-card .value {
  font-size: 2rem; font-weight: 800; color: var(--gold-light); line-height: 1;
}
.stat-card .label { margin-top: 0.5rem; font-size: 0.92rem; color: rgba(255,255,255,0.82); }

/* Products */
.products { background: var(--bg); }
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-image { aspect-ratio: 4/3; overflow: hidden; background: #f8fafc; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-title {
  font-size: 1.15rem; color: var(--navy); margin: 0 0 0.4rem; font-weight: 700;
}
.product-desc { color: var(--text-light); font-size: 0.92rem; margin: 0 0 0.8rem; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.8rem; }
.product-tags span {
  font-size: 0.72rem; color: var(--navy-mid); background: rgba(21,50,94,0.08);
  padding: 0.2rem 0.5rem; border-radius: 999px;
}
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 0.8rem;
}
.product-price { font-weight: 700; color: var(--gold-dark); font-size: 0.95rem; }
.product-spec { font-size: 0.8rem; color: var(--text-light); }

/* Specs */
.specs { background: var(--surface); }
.specs-layout { align-items: stretch; }
.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.spec-card h3 { color: var(--navy); margin: 0 0 1rem; font-size: 1.15rem; border-left: 4px solid var(--gold); padding-left: 0.7rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--text-light); width: 45%; }
.spec-table td:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.spec-table tr:last-child td { border-bottom: none; }

.specs-note {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: rgba(201,162,39,0.08); border-left: 3px solid var(--gold);
  border-radius: var(--radius); color: var(--text-light); font-size: 0.92rem;
}

/* Applications */
.applications { background: var(--bg); }
.applications-banner { margin-bottom: 2.5rem; }
.applications-banner img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.applications-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem;
}

.app-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.app-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.app-body { padding: 1rem 1.1rem; }
.app-title { font-size: 1rem; color: var(--navy); margin: 0 0 0.3rem; font-weight: 700; }
.app-desc { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* Advantages */
.advantages { background: var(--surface); }
.advantages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.advantage-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; text-align: center; transition: box-shadow .2s, transform .2s;
}
.advantage-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.advantage-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  color: var(--gold-dark);
}
.advantage-title { font-size: 1.1rem; color: var(--navy); margin: 0 0 0.5rem; font-weight: 700; }
.advantage-desc { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* Team */
.team { background: var(--bg); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.team-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  text-align: center; transition: transform .2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 1.5rem auto 0; border: 3px solid var(--gold); }
.team-name { font-size: 1.15rem; color: var(--navy); margin: 1rem 0 0.2rem; font-weight: 700; }
.team-role { color: var(--gold-dark); font-size: 0.85rem; font-weight: 600; margin: 0 0 0.6rem; }
.team-bio { padding: 0 1.25rem 1.5rem; font-size: 0.85rem; color: var(--text-light); line-height: 1.55; }

/* Channels */
.channels { background: var(--surface); }
.channel-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.channel-card h3 { color: var(--navy); margin: 0 0 1rem; font-size: 1.15rem; }
.channel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.channel-list li {
  background: rgba(21,50,94,0.06); color: var(--navy-mid);
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.85rem;
}

.clients-wrap { margin-top: 2.5rem; text-align: center; }
.clients-wrap h3 { color: var(--navy); margin-bottom: 1rem; }
.clients-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
}
.client-badge {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 0.45rem 0.9rem; font-size: 0.85rem; color: var(--text-light);
  box-shadow: var(--shadow);
}

/* Pricing */
.pricing { background: var(--bg); }
.pricing-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.price-table thead { background: var(--navy); color: #fff; }
.price-table th { padding: 0.8rem 0.6rem; font-weight: 600; text-align: left; }
.price-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--border); color: var(--text-light); }
.price-table tbody tr:nth-child(even) { background: rgba(245,247,250,0.6); }
.price-table tbody tr:hover { background: rgba(201,162,39,0.06); }
.price-table td:nth-child(4), .price-table td:nth-child(5) { font-weight: 700; color: var(--navy); }

.pricing-notes { padding: 1rem 1.25rem; background: rgba(201,162,39,0.06); font-size: 0.85rem; color: var(--text-light); }
.pricing-notes ul { margin: 0; padding-left: 1.2rem; }
.pricing-notes li { margin-bottom: 0.3rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { margin: 0; font-size: 0.95rem; color: var(--gold-light); }

.footer-contact h3, .footer-nav-wrap h3 { color: #fff; font-size: 1.05rem; margin: 0 0 1rem; }
.footer-contact p { margin: 0 0 0.6rem; font-size: 0.9rem; line-height: 1.6; }
.footer-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.25); }
.footer-contact a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.footer-domain { margin-top: 0.8rem; }

.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem;
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-nojs { margin-top: 0.4rem; }

.back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(11,31,63,0.98);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(201,162,39,0.25);
  }
  .main-nav.open a { padding: 0.7rem 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid, .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 1rem; }
  .brand-logo { height: 38px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 3.5rem 0; }
  .about-badge { right: 0.5rem; bottom: 1rem; padding: 0.75rem 1rem; }
  .about-badge strong { font-size: 1.3rem; }
  .products-grid, .applications-grid, .advantages-grid, .team-grid { grid-template-columns: 1fr; }
  .specs-layout.grid-2 { grid-template-columns: 1fr; }
  .price-table { display: block; overflow-x: auto; white-space: nowrap; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
