/* 简约科技蓝主题 */
:root {
  --bg-deep: #0b1220;
  --bg-card: #111a2e;
  --bg-elevated: #152238;
  --border: rgba(96, 165, 250, 0.12);
  --text: #e8eef8;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dim: #1d4ed8;
  --gradient-start: #1e3a5f;
  --gradient-end: #0b1220;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 64px;
  --font: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent-bright);
}

.logo-dot {
  color: var(--accent-bright);
  margin-left: 2px;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav.is-open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(29, 78, 216, 0.12), transparent),
    linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 55%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.35);
  text-decoration: none;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.5) 0%, var(--bg-deep) 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.about-card:hover {
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: var(--shadow);
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.12);
  border-radius: 10px;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.about-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Business */
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.business-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}

.business-card:hover {
  border-color: rgba(96, 165, 250, 0.25);
}

.business-card--featured {
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

.business-card-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.business-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
}

.business-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.business-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.business-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.business-list li {
  margin-bottom: 0.5rem;
}

.business-list li:last-child {
  margin-bottom: 0;
}

/* 业务介绍：字号整体加大两档（相对默认） */
#business .section-tag {
  font-size: 1rem;
}

#business .section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.125rem);
}

#business .section-desc {
  font-size: 1.25rem;
}

#business .business-num {
  font-size: 1rem;
}

#business .business-card h3 {
  font-size: 1.5rem;
}

#business .business-lead,
#business .business-list {
  font-size: 1.1875rem;
}

/* 产品介绍 */
.product-panel {
  padding: 2rem 2.25rem;
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: var(--radius-lg);
}

.product-intro {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.product-intro p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-feature {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: rgba(11, 18, 32, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.product-feature:hover {
  border-color: rgba(96, 165, 250, 0.22);
}

.product-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.product-feature p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

#product .section-tag {
  font-size: 1rem;
}

#product .section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.125rem);
}

#product .section-desc {
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .product-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    padding: 1.5rem 1.25rem;
  }
}

/* Advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.advantage-item strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.advantage-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Contact */
.section-contact {
  padding-bottom: 4rem;
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-copy p {
  margin: 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-card {
  padding: 1.5rem 1.75rem;
  background: rgba(11, 18, 32, 0.6);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-width: 220px;
}

.contact-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.25rem;
}

.contact-card a {
  color: var(--text);
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}

.footer-brand {
  justify-self: start;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-beian {
  justify-self: center;
  grid-column: 2;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.9;
  text-decoration: none;
}

.footer-beian:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.footer-copy {
  justify-self: end;
  grid-column: 3;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
  text-align: right;
}

/* Mobile */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-copy p {
    margin-inline: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-beian,
  .footer-copy {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
