:root {
  --primary: #1b325f;
  --primary-soft: #3a89c9;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #e9f2f9;
  --accent: #800080;
  --accent-hover: #660066;
  --accent-warn: #f26c4f;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --line: #cbd5e1;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --card: #ffffff;
  --shadow: 0 2px 8px rgba(28, 50, 95, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 137, 201, 0.09), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #f8fafc 100%);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(58, 137, 201, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 137, 201, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 18px 0 36px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(58, 137, 201, 0.14);
  background: var(--primary);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent));
}

.topbar h1,
.hero h2,
.section-heading h3,
.panel h4,
.service-card h4 {
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #ffffff;
}

.eyebrow {
  margin: 0;
  color: var(--primary-soft);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.topbar .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-links a,
.button {
  text-decoration: none;
}

.top-links a {
  color: #ffffff;
  font-size: 0.95rem;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.top-links a:hover {
  border-color: var(--primary-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr;
  gap: 20px;
}

.hero-copy,
.hero-image-card,
.hero-card,
.panel,
.service-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius);
  animation: rise 0.9s ease-out both;
  background:
    linear-gradient(135deg, rgba(27, 50, 95, 0.98), rgba(58, 137, 201, 0.88)),
    linear-gradient(180deg, var(--primary), var(--primary-soft));
}

.hero h2 {
  margin: 18px 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 12ch;
  color: #ffffff;
}

.lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: 160ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.button.secondary:hover {
  background: var(--bg-tint);
  border-color: var(--bg-tint);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
}

.hero-image-card,
.section-banner {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image-card {
  min-height: 320px;
  animation: rise 1s ease-out both;
  position: relative;
}

.hero-image-card::after,
.section-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(27, 50, 95, 0.42));
}

.hero-image-card img,
.section-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer p:last-child {
  color: var(--text-muted);
}

.section {
  padding: 64px 0 16px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-banner {
  height: 260px;
  margin-bottom: 24px;
  position: relative;
}

.section-banner-wide {
  height: 280px;
}

.section-heading h3 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.intro-grid,
.team-grid,
.vision-grid {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: 1fr 1fr;
}

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

.panel {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.panel h4 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  color: var(--primary);
}

.panel p,
.panel li,
.service-card p,
.service-card li {
  color: var(--text-muted);
  line-height: 1.9;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.data-strip article {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-tint);
  border: 1px solid rgba(58, 137, 201, 0.16);
}

.data-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.data-strip span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  grid-column: span 2;
  padding: 28px 24px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-soft), var(--accent));
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 137, 201, 0.32);
  box-shadow: 0 8px 20px rgba(28, 50, 95, 0.1);
}

.service-wide {
  grid-column: span 4;
}

.service-index {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h4 {
  margin: 0 0 10px;
  font-size: 1.38rem;
  color: var(--primary);
}

ul {
  margin: 0;
  padding-left: 20px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), #244a86);
}

.highlight h4,
.highlight p {
  color: #ffffff;
}

.highlight li {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 24px;
  font-size: 0.95rem;
  flex-wrap: wrap;
  border-radius: var(--radius);
  background: #0f172a;
  color: #ffffff;
}

.credit {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .topbar,
  .hero-grid,
  .hero-side,
  .intro-grid,
  .team-grid,
  .vision-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar,
  .hero-copy,
  .panel,
  .service-card {
    border-radius: var(--radius);
  }

  .top-links {
    gap: 12px;
  }

  .hero h2 {
    max-width: none;
  }

  .data-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .data-strip {
    grid-template-columns: 1fr;
  }
}
