* {
  box-sizing: border-box;
}

.product-page {
  background: #f7f9fc;
  color: #172033;
  font-family: "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
}

.product-page * {
  font-family: inherit;
}

.product-page .header,
.product-page .header .nav,
.product-page .footer,
.product-page .footer * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.product-page .header .nav .nav_item,
.product-page .header .nav .nav_item:visited,
.product-page .header .nav .nav_item:active,
.product-page .header .nav .nav_item:hover {
  color: #111827;
}

.mobile-product-page .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.mobile-product-page .mobile-menu-btn {
  position: relative;
  z-index: 1101;
  display: flex !important;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  color: #263238;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.mobile-product-page .mobile-menu-btn span {
  display: block !important;
  width: 26px;
  height: 2px;
  flex: 0 0 2px;
  background-color: #263238 !important;
  border-radius: 2px;
}

.mobile-product-page .mobile-nav {
  z-index: 1000;
}

.mobile-product-page .mobile-overlay {
  z-index: 999;
}

.product-main {
  overflow: hidden;
}

.product-shell {
  width: 1180px;
  margin: 0 auto;
}

.product-hero {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #12213a;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 22, 43, 0.92), rgba(12, 22, 43, 0.62), rgba(12, 22, 43, 0.2));
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0), #f7f9fc);
}

.product-hero-automation {
  background-color: #12304b;
}

.product-hero-ecology {
  background-color: #12343d;
}

.product-hero-consult {
  background-color: #202e4b;
}

.product-hero-content {
  position: relative;
  z-index: 1;
  width: 760px;
  padding: 84px 0 120px;
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #dff7ff;
  font-size: 14px;
  font-weight: 600;
}

.product-hero h1 {
  margin: 20px 0 16px;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 700;
}

.product-hero p {
  width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.product-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid #3158f5;
  background: #3158f5;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-btn:hover {
  background: #2547cf;
  transform: translateY(-1px);
}

.product-btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.product-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.product-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.product-hero-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.product-section {
  padding: 78px 0;
  background: #fff;
}

.product-section-soft {
  background: #f1f5f9;
}

.product-section-dark {
  background: #121a2a;
  color: #fff;
}

.product-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 34px;
}

.product-section-title {
  margin: 0;
  color: #172033;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 700;
}

.product-section-dark .product-section-title {
  color: #fff;
}

.product-section-desc {
  width: 440px;
  margin: 0;
  color: #637083;
  font-size: 16px;
  line-height: 1.8;
}

.product-section-dark .product-section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.product-kicker {
  display: block;
  margin-bottom: 10px;
  color: #3158f5;
  font-size: 15px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.product-card-body {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 22px;
  line-height: 1.4;
}

.product-card p {
  margin: 0;
  color: #637083;
  font-size: 15px;
  line-height: 1.75;
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8eef7;
  overflow: hidden;
}

.product-visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8eef7;
  color: #6b7b90;
  border: 1px dashed #a9b8cc;
}

.product-visual-placeholder span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #637083;
  font-size: 13px;
}

.product-card-media img,
.product-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-media video {
  background: #0d1424;
}

.product-card-label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  background: rgba(18, 26, 42, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.product-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-list li {
  position: relative;
  padding-left: 18px;
  color: #46556a;
  font-size: 15px;
  line-height: 1.65;
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #14b8a6;
}

.product-step-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-step {
  position: relative;
  padding: 24px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}

.product-step strong {
  display: block;
  margin-bottom: 8px;
  color: #3158f5;
  font-size: 15px;
}

.product-step h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 22px;
}

.product-step p {
  margin: 0;
  color: #637083;
  font-size: 15px;
  line-height: 1.75;
}

.product-step-number {
  position: absolute;
  right: 18px;
  top: 14px;
  color: #e6edf7;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.product-flow {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.product-flow-visual {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.product-flow-visual img {
  width: 100%;
  display: block;
}

.product-flow-visual .product-visual-placeholder {
  min-height: 360px;
}

.product-flow-panel {
  display: grid;
  gap: 16px;
}

.product-flow-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}

.product-flow-index {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: #3158f5;
  font-size: 18px;
  font-weight: 700;
}

.product-flow-item h3 {
  margin: 0 0 6px;
  color: #172033;
  font-size: 20px;
}

.product-flow-item p {
  margin: 0;
  color: #637083;
  font-size: 15px;
  line-height: 1.7;
}

.product-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-module {
  min-height: 164px;
  padding: 20px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}

.product-module-code {
  display: inline-flex;
  min-width: 40px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0 10px;
  background: #eaf1ff;
  color: #3158f5;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.product-module h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 20px;
}

.product-module p {
  margin: 0;
  color: #637083;
  font-size: 15px;
  line-height: 1.7;
}

.product-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-video-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.product-video-card .product-card-body {
  padding: 18px;
}

.product-video-card h3 {
  color: #fff;
  font-size: 20px;
}

.product-video-card p {
  color: rgba(255, 255, 255, 0.72);
}

.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-pill-row span {
  padding: 8px 12px;
  border: 1px solid #dbe4ef;
  background: #fff;
  color: #46556a;
  font-size: 14px;
}

.product-section-dark .product-pill-row span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.product-loop {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.product-loop-item {
  min-height: 154px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbe4ef;
}

.product-loop-item strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #def7ec;
  color: #079669;
}

.product-loop-item h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 18px;
}

.product-loop-item p {
  margin: 0;
  color: #637083;
  font-size: 14px;
  line-height: 1.65;
}

.product-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-pain {
  border-left: 4px solid #ef4444;
}

.product-pain:nth-child(2) {
  border-left-color: #3158f5;
}

.product-pain:nth-child(3) {
  border-left-color: #d97706;
}

.product-pain:nth-child(4) {
  border-left-color: #14b8a6;
}

.product-deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-deliverable {
  padding: 22px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}

.product-deliverable span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #3158f5;
  font-weight: 700;
}

.product-deliverable h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 20px;
}

.product-deliverable p {
  margin: 0;
  color: #637083;
  font-size: 15px;
  line-height: 1.7;
}

.product-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}

.product-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.product-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.product-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -72px;
  position: relative;
  z-index: 3;
  background: #dbe4ef;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  overflow: hidden;
}

.product-stat {
  padding: 22px;
  background: #fff;
}

.product-stat strong {
  display: block;
  color: #3158f5;
  font-size: 22px;
  line-height: 1.2;
}

.product-stat span {
  display: block;
  margin-top: 8px;
  color: #637083;
  font-size: 14px;
  line-height: 1.5;
}

.product-family-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #c8d7ec;
  background: #f7fbff;
  color: #46556a;
  font-size: 15px;
  line-height: 1.75;
}

.mobile-product-page .product-shell {
  width: 100%;
  padding: 0 16px;
}

.mobile-product-page .product-main {
  margin-top: 60px;
}

.mobile-product-page .product-hero {
  min-height: auto;
}

.mobile-product-page .product-hero-content {
  width: 100%;
  padding: 54px 16px 86px;
}

.mobile-product-page .product-hero h1 {
  font-size: 34px;
}

.mobile-product-page .product-hero p {
  width: 100%;
  font-size: 16px;
}

.mobile-product-page .product-section {
  padding: 48px 0;
}

.mobile-product-page .product-section-head {
  display: block;
}

.mobile-product-page .product-section-title {
  font-size: 26px;
}

.mobile-product-page .product-section-desc {
  width: auto;
  margin-top: 12px;
}

@media (max-width: 1240px) {
  .product-shell {
    width: calc(100% - 48px);
  }
}

@media (max-width: 900px) {
  .product-shell {
    width: calc(100% - 32px);
  }

  .product-hero-content,
  .product-hero p {
    width: 100%;
  }

  .product-hero h1 {
    font-size: 40px;
  }

  .product-section-head,
  .product-flow,
  .product-cta {
    display: block;
  }

  .product-section-desc {
    width: auto;
    margin-top: 12px;
  }

  .product-grid-2,
  .product-grid-3,
  .product-grid-4,
  .product-step-line,
  .product-matrix,
  .product-video-grid,
  .product-pain-grid,
  .product-deliverables,
  .product-stat-strip,
  .product-loop {
    grid-template-columns: 1fr;
  }

  .product-flow-panel {
    margin-top: 18px;
  }

  .product-cta .product-btn {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .product-hero {
    min-height: auto;
  }

  .product-hero::before {
    background: linear-gradient(180deg, rgba(12, 22, 43, 0.92), rgba(12, 22, 43, 0.72));
  }

  .product-hero-content {
    padding: 54px 0 88px;
  }

  .product-hero h1 {
    font-size: 34px;
  }

  .product-hero p {
    font-size: 16px;
    line-height: 1.7;
  }

  .product-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-btn {
    width: 100%;
  }

  .product-stat-strip {
    margin-top: -44px;
  }

  .product-section {
    padding: 48px 0;
  }

  .product-section-title {
    font-size: 26px;
  }

  .product-card-body,
  .product-step,
  .product-deliverable {
    padding: 18px;
  }

  .product-flow-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .product-flow-index {
    width: 40px;
    height: 40px;
  }
}
