*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-primary-light: #eff6ff;
  --color-accent: #0ea5e9;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 12px 32px rgba(37, 99, 235, 0.14);
  --radius: 14px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background:
    linear-gradient(rgba(248, 250, 252, 0.94), rgba(248, 250, 252, 0.94)),
    url("https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1920&q=80") center top / cover fixed no-repeat;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 11px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  color: var(--color-text-light);
  transition: color 0.2s;
  position: relative;
}

.nav a:hover {
  color: var(--color-primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.2s;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.78) 55%, rgba(29, 78, 216, 0.72) 100%),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 560px;
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-badge strong {
  font-size: 24px;
  font-weight: 700;
}

.hero-badge span {
  font-size: 14px;
  opacity: 0.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80") center / cover fixed no-repeat;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 32px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.section-head p {
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-size: 16px;
}

.company-meta {
  margin-top: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-row dt {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--color-text-light);
  background: var(--color-primary-light);
  border-right: 1px solid var(--color-border);
}

.meta-row dd {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.section .about-stats .stat-card {
  background: var(--color-primary-light);
  border-color: transparent;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card strong {
  display: block;
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-card span {
  font-size: 14px;
  color: var(--color-text-light);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.25);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary-light), #dbeafe);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.scope-note {
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--color-primary-light);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--color-text-light);
  text-align: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.contact-label {
  font-size: 13px;
  color: var(--color-text-light);
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.contact-value a {
  color: var(--color-primary);
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-note {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-note h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-note p {
  opacity: 0.92;
  margin-bottom: 12px;
}

.contact-note a {
  color: #bae6fd;
  font-weight: 600;
}

.contact-note a:hover {
  text-decoration: underline;
}

.contact-tip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

/* Footer */
.footer {
  background:
    linear-gradient(rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.94)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
}

.footer-company {
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-beian {
  margin-top: 8px;
}

.footer-beian a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-beian a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-badge {
    flex: 1;
    min-width: 140px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .meta-row {
    grid-template-columns: 1fr;
  }

  .meta-row dt {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 24px;
    display: block;
  }

  .nav a::after {
    display: none;
  }

  .logo-text {
    font-size: 14px;
    max-width: 180px;
    line-height: 1.3;
  }

  .section {
    padding: 64px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .about-stats,
  .hero-badges {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
