:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-dark: #071527;
  --text: #17233d;
  --muted: #61708a;
  --line: #e6edf5;
  --primary: #1769ff;
  --primary-dark: #0b4ec7;
  --accent: #00b3ff;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 70, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 237, 245, 0.85);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.25);
}

.brand-text {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  color: #26344f;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 25%, rgba(23, 105, 255, 0.16), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(0, 179, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -34% 40%;
  height: 420px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.18), rgba(0, 179, 255, 0.06));
  transform: rotate(-8deg);
  border-radius: 60px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 72px;
  align-items: center;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 32px rgba(23, 105, 255, 0.25);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border-color: rgba(23, 105, 255, 0.18);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(230, 237, 245, 0.9);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #f7faff;
  color: #26344f;
  font-weight: 600;
}

.capability-list span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 13px;
  flex: 0 0 auto;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.orb-one {
  width: 140px;
  height: 140px;
  right: -40px;
  top: -48px;
  background: rgba(23, 105, 255, 0.13);
}

.orb-two {
  width: 90px;
  height: 90px;
  left: -20px;
  bottom: 40px;
  background: rgba(0, 179, 255, 0.13);
}

.section {
  padding: 100px 0;
}

.light-section {
  background: var(--bg-soft);
}

.two-column {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 18px;
}

.rich-text strong {
  color: var(--text);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.align-left {
  text-align: left;
  margin-left: 0;
}

.cards {
  display: grid;
  gap: 24px;
}

.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.two-cards {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(20, 45, 80, 0.06);
  min-height: 230px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 22px;
  background: rgba(23, 105, 255, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.large-card {
  min-height: 180px;
}

.values-section {
  background: var(--bg-dark);
  color: #fff;
}

.values-section .section-heading p:last-child,
.values-section .value-item p {
  color: rgba(255, 255, 255, 0.72);
}

.values-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
}

.value-list {
  display: grid;
  gap: 20px;
}

.value-item {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item p {
  margin-bottom: 0;
}

.cta-section {
  padding-top: 80px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f1f7ff, #ffffff);
  border: 1px solid var(--line);
}

.cta-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.page-hero {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 104px 0 70px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.timeline {
  border-left: 2px solid var(--line);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  padding: 0 0 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(23, 105, 255, 0.12);
}

.timeline-item span {
  display: block;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
}

.info-list {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.info-list div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  display: block;
  margin-bottom: 6px;
}

.info-list span {
  color: var(--muted);
}

.contact-card {
  padding: 38px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--muted);
}

.contact-highlight {
  margin: 28px 0;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.08), rgba(0, 179, 255, 0.08));
  border: 1px solid rgba(23, 105, 255, 0.12);
}

.contact-highlight strong {
  display: block;
  margin-bottom: 8px;
}

.contact-highlight span {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-notes {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-notes li + li {
  margin-top: 8px;
}

.contact-form {
  padding: 38px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.08);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.map-placeholder {
  min-height: 260px;
  border: 1px dashed rgba(23, 105, 255, 0.25);
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.06), rgba(0, 179, 255, 0.08));
}

.map-placeholder span {
  display: block;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(23, 105, 255, 0.25);
}

.map-placeholder p {
  color: var(--muted);
  margin: 0;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 34px;
}

.legal-content p {
  color: var(--muted);
}

.updated,
.legal-note {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.icp-card {
  position: relative;
  padding: 46px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.record-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--primary);
  border-radius: 999px;
  background: rgba(23, 105, 255, 0.08);
  font-weight: 800;
  margin-bottom: 16px;
}

.record-list {
  display: grid;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.record-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.record-list dt {
  color: var(--muted);
}

.record-list dd {
  margin: 0;
  font-weight: 700;
}

.record-list a,
.footer-bottom a,
.footer-links a:hover {
  color: var(--primary);
}

.site-footer {
  background: #071527;
  color: #fff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 46px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-text {
  color: #fff;
}

.site-footer p,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 14px;
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: var(--bg-soft);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .values-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
    padding: 72px 0;
  }

  .three-cards,
  .two-cards {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .record-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .brand-text {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 76px 0 52px;
  }

  .hero-card,
  .contact-form,
  .contact-card,
  .cta-card,
  .icp-card {
    padding: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Enhancements for Muzhiyi site */
.four-cards {
  grid-template-columns: repeat(4, 1fr);
}

.compact-cards .card {
  min-height: 180px;
}

.compact-cards h3 {
  color: var(--primary);
}

@media (max-width: 1080px) {
  .four-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .four-cards {
    grid-template-columns: 1fr;
  }
}

/* Plain static contact page */
.static-contact {
  max-width: 860px;
}

.static-contact-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.plain-info-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.plain-info-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.plain-info-list span {
  color: var(--muted);
}

.plain-info-list strong {
  font-size: 18px;
  font-weight: 700;
}

.beian-info {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .plain-info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .beian-info {
    margin-left: 0;
    text-align: left;
    white-space: normal;
  }
}
