/* ============================
   落地页样式 — 从 landPage/index.vue 提取
   所有选择器加 .landing-page 前缀防污染
   ============================ */

/* 全局鼠标悬停小手（无需前缀） */
.landing-page a:hover,
.landing-page button:hover,
.landing-page [role="button"]:hover {
  cursor: pointer;
}

.landing-page .bg-gray {
  background: #f4f5f7;
}
.landing-page .bg-white {
  background: #fff;
}
.landing-page .brand-main-jl {
  --main-color: #2d53c5;
  cursor: pointer;
}
.landing-page .brand-main-bmgj {
  --main-color: #2578e3;
  cursor: pointer;
}
.landing-page .main-color {
  color: var(--main-color);
  cursor: pointer;
}
.landing-page .home-wrapper {
  background: transparent;
  padding-top: 60px;
  cursor: pointer;
}
.landing-page .fixed-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}
.landing-page .container1200 {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}
.landing-page .header {
  height: 60px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0;
  background: #fff;
  z-index: 100;
  cursor: pointer;
}
.landing-page .logo-nav {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}
.landing-page .logo-src {
  height: 30px;
  cursor: pointer;
  margin-left: 65px;
}
.landing-page .nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.landing-page .nav-menu a {
  color: #222;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.landing-page .nav-menu a:hover,
.landing-page .nav-menu a:active {
  color: var(--main-color);
}
.landing-page .login-btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 24px;
  font-size: 16px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s;
}
.landing-page .login-btn:hover {
  background: #1d357a;
}

/* Banner */
.landing-page .banner {
  background: transparent;
  padding: 60px 0 40px 0;
}
.landing-page .banner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.landing-page .banner-custom {
  min-height: 320px;
}
.landing-page .banner-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 66px;
}
.landing-page .banner-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.landing-page .banner-title-main {
  font-size: 35px;
  font-weight: 800;
  color: #222;
  letter-spacing: 1px;
}
.landing-page .banner-title-main .main-color {
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 1px;
}
.landing-page .banner-title-sub {
  font-size: 23px;
  color: #222;
  font-weight: 500;
  margin-left: 8px;
}
.landing-page .banner-subtitle {
  font-size: 25px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}
.landing-page .banner-desc {
  font-size: 18px;
  color: #888;
  margin-bottom: 18px;
  line-height: 1.7;
}
.landing-page .main-btn {
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 600;
  min-width: 110px;
  min-height: 40px;
  box-shadow: 0 2px 8px rgba(45, 83, 197, 0.08);
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  box-sizing: border-box;
}
.landing-page .main-btn:hover {
  background: #1d357a;
}
.landing-page .banner-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.landing-page .banner-phone {
  width: 300px;
  min-width: 120px;
  min-height: 240px;
  border-radius: 24px;
  margin-right: 65px;
}

/* 轮播图容器 */
.landing-page .banner-carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.landing-page .carousel-viewport {
  position: relative;
  min-height: 400px;
}
.landing-page .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}
.landing-page .carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}
.landing-page .banner-right-phone {
  flex: 0 0 35%;
}
/* 轮播图右侧大图（截图） */
.landing-page .carousel-img-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.landing-page .carousel-preview-img {
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  object-fit: cover;
  transition: transform 0.4s ease;
}
.landing-page .carousel-slide.active .carousel-preview-img {
  animation: slideImgIn 0.6s ease forwards;
}
@keyframes slideImgIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* 轮播指示器 */
.landing-page .carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 0 8px;
}
.landing-page .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d5dd;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}
.landing-page .carousel-dot.active {
  background: var(--main-color);
  width: 28px;
  border-radius: 5px;
}
.landing-page .carousel-dot:hover {
  background: var(--main-color);
  opacity: 0.7;
}
/* 轮播箭头 */
.landing-page .carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #555;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.landing-page .carousel-arrow:hover {
  background: #fff;
  color: var(--main-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}
.landing-page .carousel-arrow-left {
  left: 12px;
}
.landing-page .carousel-arrow-right {
  right: 12px;
}

/* Scene section */
.landing-page .scene {
  background: transparent;
  padding: 60px 0;
}
.landing-page .scene-title {
  text-align: center;
  font-size: 33px;
  font-weight: 800;
  color: #343a40;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.landing-page .scene-subtitle {
  text-align: center;
  font-size: 20px;
  color: #888;
  margin-bottom: 40px;
}
.landing-page .scene-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}
.landing-page .scene-flex-center {
  align-items: center;
}
.landing-page .scene-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 66px;
}
.landing-page .scene-phone {
  width: 300px;
  min-width: 120px;
  min-height: 240px;
  margin-right: 0;
  border-radius: 24px;
}
.landing-page .scene-right {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.landing-page .scene-grid-vertical {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.landing-page .scene-row {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
}
.landing-page .scene-item-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  text-align: left;
}
.landing-page .scene-icon {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 2px;
  flex-shrink: 0;
}
.landing-page .scene-item-title {
  font-size: 20px;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 6px;
  margin-top: 6px;
}
.landing-page .scene-item-desc {
  font-size: 16px;
  color: #8a90a2;
  line-height: 1.7;
}
.landing-page .scene-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

/* Steps section */
.landing-page .steps {
  background: transparent;
  padding: 60px 0 0;
  text-align: center;
}
.landing-page .steps .container1200 {
  padding: 0;
}
.landing-page .step-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  padding: 0 65px;
}
.landing-page .steps-title {
  text-align: center;
  font-size: 33px;
  font-weight: 800;
  color: #343a40;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.landing-page .steps-subtitle {
  text-align: center;
  font-size: 18px;
  color: #888;
  margin-bottom: 40px;
}
.landing-page .step-list-custom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-top: 30px;
}
.landing-page .step-item-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
}
.landing-page .step-title {
  font-size: 25px;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 8px;
  text-align: center;
}
.landing-page .step-desc {
  font-size: 18px;
  color: #888;
  margin-bottom: 10px;
  text-align: center;
  min-height: 40px;
  width: 260px;
}
.landing-page .step-phone-img {
  width: 238.13px;
  height: 285.63px;
  object-fit: cover;
  margin-bottom: 0;
  margin-top: 0;
}

/* About section */
.landing-page .about {
  background: transparent;
  text-align: center;
  padding: 60px 0 30px 0;
}
.landing-page .about-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.landing-page .about .container1200 {
  padding: 0;
}
.landing-page .about h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 24px;
}
.landing-page .qrcode {
  width: 180px;
  height: 180px;
  min-width: 80px;
  min-height: 80px;
  margin: 24px 0;
  border-radius: 12px;
}
.landing-page .about-desc {
  color: #343a40;
  font-size: 15px;
}
.landing-page .about-desc2 {
  color: #666;
  font-size: 14px;
  margin: 12px 0;
}

/* Footer */
.landing-page .beian-footer {
  width: 100%;
  background: #f4f5f7;
  padding: 24px 0 16px 0;
  text-align: center;
}
.landing-page .beian {
  color: #8a90a2;
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}
.landing-page .beian a {
  color: #8a90a2;
  text-decoration: none;
  margin: 0 4px;
}
.landing-page .beian a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .landing-page .container1200 {
    padding: 0 16px;
  }
  .landing-page .scene-flex {
    gap: 20px;
  }
  .landing-page .scene-row {
    gap: 16px;
  }
  .landing-page .step-list-custom {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .landing-page .banner-flex {
    display: block;
  }
  .landing-page .banner-left {
    padding-left: 0;
    align-items: center;
    flex: none;
  }
  .landing-page .banner-right {
    justify-content: center;
    flex: none;
    margin-top: 24px;
  }
  .landing-page .banner-right-phone {
    flex: none;
  }
  .landing-page .banner-phone {
    margin-right: 0;
    margin-top: 30px;
    width: 260px;
  }
  .landing-page .carousel-preview-img {
    max-width: 100%;
    border-radius: 12px;
  }
  .landing-page .carousel-arrow {
    display: none;
  }
  .landing-page .carousel-viewport {
    min-height: auto;
  }
  .landing-page .scene-flex {
    flex-direction: column;
    align-items: center;
  }
  .landing-page .scene-left,
  .landing-page .scene-right {
    justify-content: center;
    padding-left: 0;
  }
  .landing-page .scene-row {
    flex-direction: column;
    gap: 24px;
  }
  .landing-page .scene-grid-vertical {
    gap: 24px;
  }
  .landing-page .scene-item-vertical {
    align-items: center;
  }
  .landing-page .step-list-custom {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .landing-page .step-item-custom {
    width: 100%;
  }
}

/* ============================
   OpenClaw 相关样式
   ============================ */
/* OpenClaw 导航红色字体 */
.landing-page .nav-openclaw {
  color: #e53935 !important;
  font-weight: 600;
}
.landing-page .nav-openclaw:hover,
.landing-page .nav-openclaw:active {
  color: #c62828 !important;
}

/* OpenClaw 区块样式 */
.landing-page .openclaw-section {
  background: transparent;
  padding: 60px 0;
}
.landing-page .openclaw-title {
  text-align: center;
  font-size: 33px;
  font-weight: 800;
  color: #343a40;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.landing-page .openclaw-subtitle {
  text-align: center;
  font-size: 20px;
  color: #888;
  margin-bottom: 40px;
}
.landing-page .openclaw-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.landing-page .openclaw-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 20px;
}
.landing-page .openclaw-corner-badge {
  position: absolute;
  top: -24px;
  right: 12px;
  width: 80px;
  height: 80px;
  z-index: 10;
}
.landing-page .corner-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.landing-page .corner-num {
  position: absolute;
  top: 52%;
  left: 46%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
.landing-page .openclaw-card-body {
  padding: 36px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.landing-page .openclaw-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
  border-radius: 12px;
  flex-shrink: 0;
}
.landing-page .openclaw-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.landing-page .openclaw-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.landing-page .openclaw-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 0;
}
.landing-page .openclaw-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.landing-page .openclaw-card-list li {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}
.landing-page .openclaw-card-list li::before {
  content: "•";
  color: #2578e3;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -1px;
}
.landing-page .openclaw-card-list li strong {
  color: #343a40;
}

/* OpenClaw 链接样式 */
.landing-page .openclaw-link {
  color: #2578e3;
  text-decoration: underline;
  cursor: pointer;
}
.landing-page .openclaw-link:hover {
  color: #1d357a;
}

@media (max-width: 1200px) {
  .landing-page .openclaw-steps {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .landing-page .openclaw-steps {
    flex-direction: column;
    align-items: center;
  }
  .landing-page .openclaw-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ============================
   安装指令弹窗样式（位于 body 直接子节点，无 .landing-page 前缀）
   ============================ */
.install-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.install-modal-overlay.show {
  display: flex;
}
.install-modal {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  width: 640px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.install-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.install-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}
.install-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.install-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}
.install-modal-body {
  padding: 22px 28px 10px;
}
.install-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  margin-top: 16px;
}
.install-section-title:first-child {
  margin-top: 0;
}
.install-cmd-block {
  border-radius: 8px;
  padding: 14px 0;
  font-size: 14px;
  color: #333;
  line-height: 2.3;
  margin-bottom: 8px;
  word-break: break-all;
}
.install-usage-text {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
}
.install-modal-footer {
  display: flex;
  justify-content: center;
  padding: 10px 28px 26px;
}
.install-copy-btn {
  background: #2578e3;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 1px;
}
.install-copy-btn:hover {
  background: #1d357a;
}
