/* ==========================================================================
   platform.css — 数字平台栏目（SeekCrew / ShippingClaw）专用组件样式
   依赖 bootstrap.min.css 与 style.css，仅做增量扩展，不覆盖模板原有规则
   ========================================================================== */

/* ---------- 1. 平台页主视觉（Hero） ---------- */
.platform-cover {
  position: relative;
  padding: 130px 0 70px;
  background: #071a35;
  background-image: -webkit-linear-gradient(45deg, #071a35 0%, #0d2c54 55%, #123a6b 100%);
  background-image: -o-linear-gradient(45deg, #071a35 0%, #0d2c54 55%, #123a6b 100%);
  background-image: linear-gradient(135deg, #071a35 0%, #0d2c54 55%, #123a6b 100%);
  color: #fff;
  overflow: hidden;
}

.platform-cover .site-logo-img {
  background: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}

.platform-cover .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7fb2ff;
  margin-bottom: 14px;
}

.platform-cover h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.platform-cover .lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
  margin: 0 auto 8px;
}

.platform-cover .hero-tags {
  margin-top: 18px;
}

.platform-cover .hero-tags span {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 13px;
  margin: 4px;
  color: rgba(255, 255, 255, .9);
}

/* ---------- 2. 数字看板 ---------- */
.stat-grid {
  margin-top: 44px;
}

.stat-grid .stat-item {
  padding: 10px;
}

.stat-grid .stat-num {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: #f89d13;
  line-height: 1.1;
}

.stat-grid .stat-label {
  display: block;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .66);
  margin-top: 6px;
}

/* ---------- 3. 按钮 ---------- */
.btn-platform {
  background: #f89d13;
  color: #071a35 !important;
  border: 1px solid #f89d13;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 12px 30px;
  border-radius: 4px;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.btn-platform:hover, .btn-platform:focus {
  background: #ffb43c;
  border-color: #ffb43c;
  color: #071a35 !important;
}

.btn-platform-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .5);
  font-weight: 700;
  letter-spacing: .05em;
  padding: 12px 30px;
  border-radius: 4px;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.btn-platform-outline:hover, .btn-platform-outline:focus {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff !important;
}

.btn-platform-outline.btn-outline-dark {
  color: #071a35 !important;
  border: 1px solid rgba(7, 26, 53, .35);
}

.btn-platform-outline.btn-outline-dark:hover {
  background: #071a35;
  color: #fff !important;
}

/* ---------- 4. 能力卡片（编号 + 图标） ---------- */
.cap-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-top: 3px solid #f89d13;
  border-radius: 6px;
  padding: 32px 26px;
  height: 100%;
  position: relative;
  -webkit-box-shadow: 0 2px 14px -6px rgba(7, 26, 53, .12);
  box-shadow: 0 2px 14px -6px rgba(7, 26, 53, .12);
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.cap-card:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 14px 30px -12px rgba(7, 26, 53, .28);
  box-shadow: 0 14px 30px -12px rgba(7, 26, 53, .28);
}

.cap-card .cap-no {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 40px;
  font-weight: 700;
  color: #f2f4f8;
  line-height: 1;
}

.cap-card .cap-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  border-radius: 8px;
  background: #eef4ff;
  color: #071a35;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cap-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #071a35;
  margin-bottom: 12px;
}

.cap-card p {
  font-size: 15px;
  color: #6d7685;
  margin-bottom: 14px;
}

.cap-card .cap-tags {
  font-size: 12px;
  letter-spacing: .12em;
  color: #f89d13;
  font-weight: 700;
  margin: 0;
}

/* ---------- 5. 船员卡片（对应 SeekCrew 船员库样式） ---------- */
.crew-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.crew-card:hover {
  border-color: #f89d13;
  -webkit-box-shadow: 0 10px 24px -14px rgba(7, 26, 53, .35);
  box-shadow: 0 10px 24px -14px rgba(7, 26, 53, .35);
}

.crew-card .crew-rank {
  display: inline-block;
  background: #071a35;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 3px;
}

.crew-card .crew-verified {
  display: inline-block;
  background: rgba(248, 157, 19, .14);
  color: #b9770b;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 3px;
}

.crew-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #071a35;
  margin: 14px 0 4px;
}

.crew-card .crew-meta {
  font-size: 14px;
  color: #6d7685;
  margin-bottom: 10px;
}

.crew-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
  color: #6d7685;
}

.crew-card ul li {
  padding: 3px 0;
  border-bottom: 1px dashed #edf0f5;
}

.crew-card ul li:last-child {
  border-bottom: none;
}

/* ---------- 6. 职级体系表 ---------- */
.rank-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  overflow: hidden;
  font-size: 15px;
}

.rank-table th {
  background: #071a35;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  width: 180px;
  vertical-align: top;
}

.rank-table td {
  padding: 14px 18px;
  border-top: 1px solid #edf0f5;
  color: #4a5468;
  line-height: 2;
}

.rank-table tr:first-child td,
.rank-table tr:first-child th {
  border-top: none;
}

.rank-table .rank-chip {
  display: inline-block;
  border: 1px solid #dfe5ef;
  border-radius: 100px;
  padding: 2px 12px;
  margin: 2px 4px 2px 0;
  font-size: 13px;
  color: #071a35;
  white-space: nowrap;
}

/* ---------- 7. 国家/地区卡片 ---------- */
.country-card {
  display: block;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.country-card:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 16px 34px -16px rgba(7, 26, 53, .3);
  box-shadow: 0 16px 34px -16px rgba(7, 26, 53, .3);
}

.country-card .country-img {
  height: 150px;
  overflow: hidden;
  background: #071a35;
}

.country-card .country-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform .5s ease;
  transition: -webkit-transform .5s ease;
  -o-transition: transform .5s ease;
  transition: transform .5s ease;
}

.country-card:hover .country-img img {
  -webkit-transform: scale(1.07);
  -ms-transform: scale(1.07);
  transform: scale(1.07);
}

.country-card .country-body {
  padding: 18px 20px 22px;
}

.country-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #071a35;
  margin-bottom: 8px;
}

.country-card p {
  font-size: 14px;
  color: #6d7685;
  margin-bottom: 0;
}

/* ---------- 8. 流程步骤 ---------- */
.flow-step {
  text-align: center;
  padding: 10px 14px;
  position: relative;
}

.flow-step .flow-no {
  width: 54px;
  height: 54px;
  line-height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #071a35;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: #071a35;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: #6d7685;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .flow-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 36px;
    right: -8%;
    width: 16%;
    border-top: 2px dashed #dfe5ef;
  }
}

/* ---------- 9. 入口卡片（登录 / 下载） ---------- */
.entry-card {
  display: block;
  background: #fff;
  border: 1px solid #edf0f5;
  border-left: 3px solid #071a35;
  border-radius: 4px;
  padding: 20px 22px;
  margin-bottom: 16px;
  text-decoration: none !important;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.entry-card:hover {
  border-left-color: #f89d13;
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

.entry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #071a35;
  margin-bottom: 4px;
}

.entry-card p {
  font-size: 13px;
  color: #6d7685;
  margin-bottom: 0;
}

/* ---------- 10. AI 对话演示（纯静态，可被索引） ---------- */
.chat-demo {
  background: #0a1f3c;
  border: 1px solid #1b3a63;
  border-radius: 10px;
  -webkit-box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .6);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .6);
  overflow: hidden;
}

.chat-demo .chat-demo-bar {
  background: #06172c;
  padding: 12px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}

.chat-demo .chat-demo-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f89d13;
  margin-right: 10px;
  -webkit-box-shadow: 0 0 0 4px rgba(248, 157, 19, .18);
  box-shadow: 0 0 0 4px rgba(248, 157, 19, .18);
}

.chat-demo .chat-demo-body {
  padding: 22px 20px 26px;
}

.chat-demo .msg {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.75;
}

.chat-demo .msg-user {
  background: rgba(127, 178, 255, .12);
  border: 1px solid rgba(127, 178, 255, .22);
  color: #dbe9ff;
  border-radius: 10px 10px 2px 10px;
  padding: 12px 16px;
  margin-left: 32px;
}

.chat-demo .msg-ai {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .86);
  border-radius: 10px 10px 10px 2px;
  padding: 12px 16px;
  margin-right: 32px;
}

.chat-demo .msg-tool {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 13px;
  color: #7fe3b0;
  background: rgba(127, 227, 176, .08);
  border-left: 2px solid #7fe3b0;
  padding: 8px 14px;
  margin-left: 8px;
}

.chat-demo .msg-done {
  color: #f89d13;
  font-weight: 700;
  font-size: 14px;
  margin-right: 0;
}

/* 场景示例提示语 */
.scene-quote {
  background: #f7f9fc;
  border-left: 3px solid #f89d13;
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  font-size: 14px;
  color: #4a5468;
  font-style: italic;
  margin-bottom: 16px;
}

/* ---------- 11. FAQ 折叠 ---------- */
.faq-item {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-item .faq-title {
  padding: 18px 22px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #071a35;
}

.faq-item .faq-title a {
  display: block;
  color: #071a35;
  text-decoration: none !important;
  position: relative;
  padding-right: 26px;
}

.faq-item .faq-title a:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 20px;
  color: #f89d13;
}

.faq-item .faq-title a[aria-expanded="true"]:after {
  content: '\2212';
}

.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: 15px;
  color: #6d7685;
  line-height: 1.85;
}

/* ---------- 12. CTA 通栏 ---------- */
.platform-cta {
  background: #071a35;
  background-image: -webkit-linear-gradient(300deg, #071a35 0%, #123a6b 100%);
  background-image: -o-linear-gradient(300deg, #071a35 0%, #123a6b 100%);
  background-image: linear-gradient(150deg, #071a35 0%, #123a6b 100%);
  color: #fff;
  padding: 66px 0;
}

.platform-cta h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.platform-cta p {
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  margin-bottom: 0;
}

/* ---------- 13. 平台页内小标题统一 ---------- */
.platform-section .section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #f89d13;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 767px) {
  .platform-cover {
    padding: 110px 0 52px;
  }

  .platform-cover h1 {
    font-size: 28px;
  }

  .stat-grid .stat-num {
    font-size: 26px;
  }

  .rank-table th {
    width: auto;
    display: block;
    border-top: 1px solid #edf0f5;
  }

  .rank-table tr {
    display: block;
  }

  .rank-table td {
    display: block;
    border-top: none;
  }

  .chat-demo .msg-user, .chat-demo .msg-ai {
    margin-left: 0;
    margin-right: 0;
  }

  .platform-cta h2 {
    font-size: 24px;
  }

}
