@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --brand: #2f9fd4;
  --brand-deep: #1c86bd;
  --brand-soft: #4aaed4;
  --ink: #f5f8fa;
  --ink-2: #eef3f7;
  --panel: #ffffff;
  --panel-soft: #f8fbfd;
  --line: rgba(36, 72, 104, 0.1);
  --text: #183044;
  --muted: #617789;
  --white: #ffffff;
  --radius: 12px;
  --max: 1080px;
  --nav-h: 68px;
  --shadow: 0 1px 2px rgba(36, 72, 104, 0.04), 0 8px 24px rgba(36, 72, 104, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--ink);
  font-family: "Noto Sans SC", "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 42% at 88% 8%, rgba(47, 159, 212, 0.09), transparent 58%),
    radial-gradient(ellipse 48% 36% at 8% 72%, rgba(28, 134, 189, 0.05), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #f3f7fa 42%, #eef3f7 100%);
}
.site-bg::before,
.site-bg::after {
  content: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px) saturate(1.1);
  background: rgba(247, 250, 252, 0.78);
  border-bottom: 1px solid rgba(36, 72, 104, 0.07);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-cn {
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-en {
  font-family: "Sora", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a.nav-item,
.nav-links button.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a.nav-item:hover,
.nav-links button.nav-item:hover,
.nav-links a.nav-item.on,
.nav-links button.nav-item.on {
  color: var(--brand-deep);
  background: rgba(48, 168, 224, 0.1);
}
.nav-links .chev { font-size: 10px; opacity: .7; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.dropdown.open { display: block; }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
}
.dropdown a:hover { background: rgba(48, 168, 224, 0.08); color: var(--brand-deep); }
.dropdown .sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(74vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 48px;
  position: relative;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  animation: rise .7s ease both;
}
.hero-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(36, 72, 104, 0.08), 0 8px 20px rgba(47, 159, 212, 0.12);
}
.hero-brand-name {
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}
.hero-brand-name span {
  display: block;
  margin-top: 4px;
  font-size: 0.42em;
  letter-spacing: 0.28em;
  color: var(--brand-deep);
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  animation: rise .7s .08s ease both;
}
.hero p {
  margin: 18px 0 0;
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  animation: rise .7s .14s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: rise .7s .2s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  box-shadow: none;
  transition: background .2s, transform .15s;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(36, 72, 104, 0.14);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.55);
  transition: border-color .2s, background .2s;
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost:hover {
  border-color: rgba(47, 159, 212, 0.45);
  background: #fff;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 64px;
}
.section h2 {
  margin: 0 0 10px;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.section .lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 42em;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-soft);
  box-shadow: none;
  transition: border-color .2s, background .2s;
}
.feature:hover {
  border-color: rgba(47, 159, 212, 0.28);
  background: var(--panel);
}

.home-products {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.home-card {
  display: block;
  padding: 26px 24px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 253, 0.98));
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  min-height: 180px;
  position: relative;
}
.home-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: rgba(47, 159, 212, 0.55);
}
.home-card:hover {
  border-color: rgba(47, 159, 212, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(36, 72, 104, 0.04), 0 14px 28px rgba(36, 72, 104, 0.06);
}
.home-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
  background: rgba(47, 159, 212, 0.08);
  text-transform: uppercase;
}
.home-card h3 {
  margin: 0 0 10px;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 24px;
  color: var(--text);
}
.home-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.home-card .more {
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
}
.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--text);
}
.feature span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.page-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 96px;
}
.page-main h1 {
  margin: 0 0 12px;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text);
}
.page-main .desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 40em;
  margin-bottom: 32px;
}

.product-list {
  display: grid;
  gap: 14px;
}
.product-row {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: none;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.product-row:hover {
  border-color: rgba(47, 159, 212, 0.3);
  box-shadow: var(--shadow);
}
.product-main {
  flex: 1;
  min-width: 0;
  padding: 22px 24px;
  color: inherit;
  transition: background .2s;
}
.product-main:hover {
  background: rgba(48, 168, 224, 0.05);
}
.product-main h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text);
}
.product-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.product-enter {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.product-enter:hover {
  background: rgba(48, 168, 224, 0.1);
  color: var(--brand-deep);
}
.product-enter.is-pending,
.product-enter.is-pending:hover {
  color: var(--muted);
  font-weight: 500;
  background: transparent;
  cursor: default;
}
.product-row.is-pending {
  opacity: 0.92;
}
.product-row.is-pending:hover {
  border-color: var(--line);
}
.product-main.is-static {
  cursor: default;
}
.product-main.is-static:hover {
  background: transparent;
}

/* 兼容旧样式类名 */
.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.product-item h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.product-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-item .go { flex-shrink: 0; color: var(--brand-deep); font-size: 13px; font-weight: 600; }

.intro-block {
  margin: 0 0 28px;
  max-width: 42em;
}
.intro-block h2 {
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.intro-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.intro-block ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
  max-width: 42em;
}
.contact-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  box-shadow: none;
}
.contact-card .k {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.contact-card .v {
  display: block;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 650;
  color: var(--text);
  letter-spacing: 0.02em;
}
.dropdown a[aria-disabled="true"] {
  opacity: 0.72;
  cursor: default;
}
.dropdown a[aria-disabled="true"]:hover {
  background: transparent;
  color: var(--text);
}

.footer {
  border-top: 1px solid rgba(30, 80, 120, 0.08);
  padding: 22px 0 28px;
  margin-top: 24px;
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-copy {
  color: var(--text);
  font-weight: 600;
}
.footer-beian {
  width: min(var(--max), calc(100% - 40px));
  margin: 10px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-beian a {
  color: var(--muted);
}
.footer-beian a:hover {
  color: var(--brand-deep);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .feature-row, .home-products { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-row { flex-direction: column; }
  .product-enter {
    min-width: 0;
    width: 100%;
    padding: 14px 22px;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
  .hero-brand img { width: 56px; height: 56px; }
}

.mobile-nav {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .mobile-nav { display: flex; }
  .mobile-nav a {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(48, 168, 224, 0.06);
  }
  .mobile-nav a.on { color: var(--brand-deep); background: rgba(48, 168, 224, 0.14); }
}
