:root {
  --bg: #f4f7fb;
  --bg-soft: #edf2f9;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --line: rgba(17, 32, 58, 0.12);
  --line-strong: rgba(17, 32, 58, 0.2);
  --text: #11203a;
  --text-soft: #5a6a80;
  --accent: #0e5bd7;
  --accent-strong: #153a86;
  --warm: #c17c2e;
  --teal: #137d7a;
  --shadow: 0 24px 64px rgba(15, 35, 69, 0.12);
  --shadow-soft: 0 16px 40px rgba(15, 35, 69, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(14, 91, 215, 0.14), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(193, 124, 46, 0.14), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 54%, var(--bg-soft) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(17, 32, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 32, 58, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: var(--shadow-soft);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.site-footer a {
  color: var(--text-soft);
  font-weight: 600;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.site-nav a:last-child {
  padding: 10px 16px;
  border: 1px solid rgba(14, 91, 215, 0.12);
  border-radius: 999px;
  background: rgba(14, 91, 215, 0.08);
  color: var(--accent-strong);
}

.site-nav a:last-child:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 91, 215, 0.2);
  background: rgba(14, 91, 215, 0.12);
}

main {
  display: grid;
  gap: 28px;
}

.surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.surface::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(320deg, rgba(14, 91, 215, 0.04), transparent 32%);
}

.hero,
.company-overview,
.capabilities,
.site-matrix {
  padding: 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.overview-grid,
.capability-grid,
.link-grid {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.capability-card h3,
.link-card h3 {
  margin: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 10px 0 0;
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lead,
.hero-note,
.overview-copy p,
.info-card p,
.capability-card p,
.link-card p,
.link-url {
  color: var(--text-soft);
}

.lead {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-note {
  max-width: 36rem;
  margin: 14px 0 0;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #2f73e3 100%);
  box-shadow: 0 14px 32px rgba(14, 91, 215, 0.22);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--accent-strong);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card,
.info-card,
.capability-card,
.link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
}

.stat-card {
  padding: 18px 16px;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--accent-strong);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
}

.hero-visual {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.hero-image-frame,
.hero-panel {
  width: min(100%, 420px);
}

.hero-image-frame {
  padding: 10px;
  border: 1px solid rgba(17, 32, 58, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 247, 252, 0.92) 100%);
  box-shadow: var(--shadow-soft);
}

.hero-image-frame img {
  aspect-ratio: 4 / 3;
  max-height: 310px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.hero-panel {
  padding: 22px 24px;
  border: 1px solid rgba(19, 125, 122, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(232, 243, 243, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: var(--shadow-soft);
}

.panel-label,
.card-tag,
.card-index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.panel-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
}

.hero-panel strong {
  display: block;
  font-size: 1.18rem;
}

.hero-panel p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.overview-copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.9;
}

.overview-copy p + p {
  margin-top: 16px;
}

.info-grid {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 20px 22px;
}

.info-card span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.info-card p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.capability-card {
  padding: 24px 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 253, 0.92) 100%);
}

.card-tag,
.card-index {
  color: var(--accent);
}

.capability-card h3,
.link-card h3 {
  margin-top: 14px;
}

.capability-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.capability-card p {
  margin: 12px 0 0;
  line-height: 1.75;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.link-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.94) 100%);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.link-card::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--accent-strong);
  font-size: 1.2rem;
  content: "↗";
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 91, 215, 0.22);
  box-shadow: var(--shadow-soft);
}

.link-card h3 {
  max-width: 16ch;
  font-size: 1.42rem;
  line-height: 1.24;
}

.link-card p {
  line-height: 1.75;
}

.link-meta {
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.link-url {
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: break-word;
}

.site-footer {
  margin-top: 24px;
  padding: 4px 2px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 480ms ease,
    transform 480ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .overview-grid,
  .capability-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: stretch;
  }

  .hero-image-frame,
  .hero-panel {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
    padding-top: 18px;
  }

  .site-header,
  .hero,
  .company-overview,
  .capabilities,
  .site-matrix {
    padding: 24px 22px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .site-nav,
  .footer-links {
    gap: 12px 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-image-frame img {
    max-height: 240px;
  }

  .link-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav a,
  .site-footer a,
  .button,
  .link-card,
  .js [data-reveal] {
    transition: none;
  }
}
