:root {
  color-scheme: light;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f3f4f6;
  --surface: #ffffff;
  --soft: #f8fafc;
  --red: #e11d48;
  --red-hot: #ef4444;
  --red-dark: #be123c;
  --red-soft: #fff1f2;
  --rose-light: #ffe4e6;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --cyan: #0891b2;
  --cyan-soft: #ecfeff;
  --amber: #d97706;
  --amber-hot: #fbbf24;
  --amber-soft: #fffbeb;
  --green: #10b981;
  --green-soft: #ecfdf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family:
    "Helvetica Neue",
    Helvetica,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(243, 244, 246, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--red-dark);
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

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

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 22px 0 20px;
}

.site-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: 48px;
  align-items: center;
  min-height: min(760px, calc(100vh - 150px));
  padding: 68px 6vw 56px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(225, 29, 72, 0.94) 0%, rgba(239, 68, 68, 0.84) 48%, rgba(190, 18, 60, 0.94) 100%),
    url("./assets/logo.png") right 9vw center / 340px auto no-repeat,
    #be123c;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #b4232a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-band .eyebrow {
  color: var(--rose-light);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-link {
  background: #ffffff;
  color: var(--red-dark);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero-media {
  position: relative;
  z-index: 2;
  min-height: 420px;
}

.media-frame {
  position: absolute;
  display: grid;
  gap: 10px;
  width: min(82vw, 340px);
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(25, 20, 20, 0.22);
  backdrop-filter: blur(16px);
}

.media-frame span {
  color: var(--rose-light);
  font-size: 15px;
  font-weight: 800;
}

.media-frame strong {
  font-size: 34px;
  line-height: 1.15;
}

.media-frame small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.media-main {
  top: 20px;
  right: 0;
}

.media-side {
  right: 130px;
  bottom: 20px;
  width: min(76vw, 300px);
  min-height: 190px;
  background: rgba(8, 145, 178, 0.24);
}

.content-section,
.platform-section,
.contact-section {
  padding: 72px 6vw;
}

.content-section,
.contact-section {
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
}

.red {
  background: var(--red-soft);
  color: var(--red);
}

.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

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

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.capability-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.capability-copy p {
  margin-bottom: 22px;
  color: #334155;
  font-size: 17px;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #475569;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.metric-list {
  display: grid;
  gap: 14px;
}

.metric-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-item strong {
  color: var(--red);
  font-size: 44px;
  line-height: 1;
}

.metric-item span {
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
}

.contact-copy p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

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

.contact-list dt {
  color: var(--muted);
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
  color: #334155;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 6vw;
  background: #111827;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-band {
    grid-template-columns: 1fr;
    min-height: 680px;
    padding-top: 58px;
  }

  .hero-media {
    order: 2;
    min-height: 330px;
  }

  .media-main {
    left: 0;
    right: auto;
  }

  .media-side {
    right: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px 0;
  }

  .site-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .site-nav a {
    padding: 8px 0 16px;
    white-space: nowrap;
  }

  .hero-band,
  .content-section,
  .platform-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-band {
    min-height: calc(100vh - 210px);
    padding-top: 44px;
    padding-bottom: 42px;
    background:
      linear-gradient(135deg, rgba(225, 29, 72, 0.98) 0%, rgba(239, 68, 68, 0.92) 48%, rgba(190, 18, 60, 0.97) 100%),
      url("./assets/logo.png") right -18px center / 260px auto no-repeat,
      #be123c;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-media {
    display: none;
  }

  .service-grid,
  .capability-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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