/* ============================================================
   Feature Showcase - restored layout foundation
   ============================================================ */
.platform-card--doubao { top: 50%; left: 92%; }
.platform-card--deepseek { top: 86%; left: 71%; }
.platform-card--wenxin { top: 86%; left: 29%; }
.platform-card--qianwen { top: 50%; left: 8%; }
.platform-card--chatgpt { top: 14%; left: 29%; }
.platform-card--kimi { top: 14%; left: 71%; }

.pf-logo-wrap--doubao { background: #1db954; }
.pf-logo-wrap--deepseek { background: #4d6bfe; }
.pf-logo-wrap--wenxin { background: #3b82f6; }
.pf-logo-wrap--qianwen { background: #ff6a00; }
.pf-logo-wrap--chatgpt { background: #10a37f; }
.pf-logo-wrap--kimi { background: #6c5ce7; }

.pf-logo-contain {
  object-fit: contain !important;
  background: #3b82f6;
}

.feat-screen-image {
  display: block;
  width: 100%;
  height: auto;
}

.feat-bbody--inset {
  padding-right: clamp(10px, 1vw, 16px);
  padding-left: clamp(10px, 1vw, 16px);
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.feat-row,
.feat-row.reverse {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.82));
  box-shadow: 0 20px 54px rgba(30, 41, 59, 0.08);
  flex-direction: row-reverse;
}

.feat-row.reverse {
  flex-direction: row-reverse;
}

.feat-row::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, #6366f1 0%, #d4a017 48%, #e85d04 100%);
  opacity: 0.82;
}

.feat-shot {
  flex: 0 0 58%;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  background: #f8fafc;
}

.feat-browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.feat-bbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 37px;
  padding: 9px 14px;
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid #e8ecf1;
  flex-shrink: 0;
}

.feat-bbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.feat-bbar i:nth-child(1) { background: #ed6a5e; }
.feat-bbar i:nth-child(2) { background: #f5bd4f; }
.feat-bbar i:nth-child(3) { background: #61c454; }

.feat-bbar span {
  margin-left: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.feat-bbody {
  flex: 1;
  min-height: 0;
  background: linear-gradient(145deg, #fbfcfe, #f4f7fb);
}

.feat-row .feat-text {
  position: relative;
  flex: 1 1 42%;
  min-width: 0;
  min-height: 430px;
  padding: clamp(30px, 3.2vw, 52px);
  border-left: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.07), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
}

.feat-row.reverse .feat-text {
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  border-left: 0;
  background:
    radial-gradient(circle at 0 0, rgba(212, 160, 23, 0.08), transparent 42%),
    linear-gradient(215deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
}

.feat-module-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #6366f1;
  font-family: var(--font-cn);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.feat-module-label span {
  padding: 4px 9px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.055);
}

.feat-h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-family: var(--font-cn);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.feat-desc {
  margin-bottom: 22px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}

.feat-value {
  margin-bottom: 22px;
  padding: 11px 14px;
  border-left: 3px solid #d4a017;
  border-radius: 0 8px 8px 0;
  background: rgba(212, 160, 23, 0.065);
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.feat-value span {
  margin-right: 8px;
  color: #92400e;
  font-weight: 700;
}

.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6366f1;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.feat-link:hover {
  gap: 8px;
}

@media (max-width: 900px) {
  .feat-row, .feat-row.reverse { flex-direction: column; gap: 24px; }
  .feat-shot { flex: 0 0 auto; width: 100%; }
  .feat-text { min-height: 0; padding: 26px 28px; }
}

.feat-shot {
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 14px 36px rgba(30, 41, 59, 0.09);
}
.feat-text { min-width: 0; }

.scenario-card {
  position: relative;
  overflow: hidden;
}
.scenario-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #d4a017, #e85d04, #6366f1);
  opacity: 0.78;
}
.scenario-icon {
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.13);
}

@media (max-width: 540px) {
  .feat-text { padding: 24px 20px; }
  .feat-module-label { align-items: flex-start; flex-direction: column; gap: 7px; }
  .feat-h2 { font-size: 20px; }
  .feat-desc { font-size: 13px; }
}

.cases.section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}
.cases .feat-row .feat-shot {
  height: 500px;
  min-height: 500px;
}
.cases .feat-row .feat-browser {
  height: 100%;
  min-height: 0;
}
.cases .feat-row .feat-bbody {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

@media (max-width: 1680px) {
  .cases .feat-row .feat-shot {
    height: 560px;
    min-height: 560px;
  }
}

@media (max-width: 1280px) {
  .cases .feat-row .feat-shot {
    height: 620px;
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .cases .feat-row .feat-shot {
    height: 700px;
    min-height: 700px;
  }
}

.hero {
  min-height: 720px;
  padding-top: 96px;
  padding-bottom: 42px;
  overflow: hidden;
}

.hero-main {
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  width: 100%;
}

.hero-platforms,
.hero-content {
  min-width: 0;
}

.hero .title-glitch,
.hero .title-accent {
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.hero .title-sub {
  font-size: 13px;
  letter-spacing: 0.34em;
}

.hero .hero-subtitle {
  max-width: 620px;
  min-height: 54px;
  font-size: 16px;
  line-height: 1.72;
}

.hero .platform-cloud {
  width: min(100%, 340px);
  max-width: 340px;
}

.hero .platform-card {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
}

.hero .pf-logo-wrap {
  width: 28px;
  height: 28px;
}

.hero .pf-name {
  font-size: 12px;
}

.hero .center-label {
  font-size: 38px;
}

.hero .center-sub,
.hero .platforms-tag {
  font-size: 12px;
}

@media (max-width: 1180px) {
  .hero {
    min-height: 680px;
    padding-top: 90px;
  }

  .hero-main {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
    gap: 42px;
  }

  .hero .title-glitch,
  .hero .title-accent {
    font-size: 62px;
  }

  .hero .platform-cloud {
    width: min(100%, 300px);
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 48px;
  }

  .hero-main {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .hero-content {
    order: 1;
    align-items: center;
    width: min(100%, 680px);
    margin: 0 auto;
    text-align: center;
  }

  .hero-platforms {
    order: 2;
    width: 100%;
  }

  .hero .hero-title {
    align-items: center;
  }

  .hero .title-glitch,
  .hero .title-accent {
    font-size: 50px;
  }

  .hero .hero-subtitle {
    min-height: 0;
    font-size: 15px;
  }

  .hero .platform-cloud {
    width: min(72vw, 280px);
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .hero-main {
    gap: 28px;
  }

  .hero .title-glitch,
  .hero .title-accent {
    font-size: 40px;
    line-height: 1;
  }

  .hero .title-sub {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .hero .hero-subtitle {
    font-size: 13px;
    line-height: 1.65;
  }

  .hero .platform-cloud {
    width: min(70vw, 238px);
    max-width: 238px;
  }

  .hero .platform-card {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }

  .hero .pf-logo-wrap {
    width: 23px;
    height: 23px;
  }

  .hero .pf-name {
    font-size: 12px;
  }

  .hero .center-label {
    font-size: 28px;
  }

  .hero .center-sub,
  .hero .platforms-tag {
    font-size: 12px;
  }
}.cases .feat-bbar span {
  font-size: 12px;
  line-height: 1.35;
}

/* ===== Banner logo-only mode: avoid minimum-font differences between browsers ===== */
.hero .pf-name,
.hero .platforms-tag {
  display: none;
}

.hero .platform-card {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
}

.hero .pf-inner {
  padding: 6px;
}

.hero .pf-logo-wrap {
  width: 34px;
  height: 34px;
}

.hero .pf-logo-wrap img,
.hero .pf-logo-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

@media (max-width: 600px) {
  .hero .platform-card {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }

  .hero .pf-logo-wrap {
    width: 30px;
    height: 30px;
  }
}

/* ===== Inner GEO orbit indicator ===== */
.hero .platform-ring {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-animation: geo-inner-orbit-spin 18s linear infinite;
  animation: geo-inner-orbit-spin 18s linear infinite;
  will-change: transform;
}

@-webkit-keyframes geo-inner-orbit-spin {
  from { -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); }
  to { -webkit-transform: translate(-50%, -50%) rotate(360deg); transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes geo-inner-orbit-spin {
  from { -webkit-transform: translate(-50%, -50%) rotate(0deg); transform: translate(-50%, -50%) rotate(0deg); }
  to { -webkit-transform: translate(-50%, -50%) rotate(360deg); transform: translate(-50%, -50%) rotate(360deg); }
}
/* ===== Unified feature-card browser presentation ===== */
.cases .feat-row .feat-shot,
.cases .feat-row.reverse .feat-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 62%;
  height: 500px;
  min-height: 500px;
  padding: 18px;
}

.cases .feat-row .feat-text,
.cases .feat-row.reverse .feat-text {
  flex: 1 1 38%;
}

.cases .feat-row .feat-browser,
.cases .feat-row.reverse .feat-browser {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2.18 / 1;
  margin: auto;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.14);
}

.cases .feat-row .feat-bbody,
.cases .feat-row.reverse .feat-bbody {
  display: flex;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.cases .feat-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

@media (max-width: 1280px) {
  .cases .feat-row .feat-shot,
  .cases .feat-row.reverse .feat-shot {
    height: 460px;
    min-height: 460px;
    padding: 16px;
  }
}

@media (max-width: 900px) {
  .cases .feat-row .feat-shot,
  .cases .feat-row.reverse .feat-shot {
    height: 500px;
    min-height: 500px;
    padding: 20px;
  }

  .cases .feat-row .feat-browser,
  .cases .feat-row.reverse .feat-browser {
    aspect-ratio: 2.12 / 1;
  }
}

@media (max-width: 600px) {
  .cases .feat-row .feat-shot,
  .cases .feat-row.reverse .feat-shot {
    height: 350px;
    min-height: 350px;
    padding: 14px;
  }

  .cases .feat-row .feat-browser,
  .cases .feat-row.reverse .feat-browser {
    aspect-ratio: 1.65 / 1;
  }
}
