/* --- CSS 变量 --- */
:root {
  --primary-color: #0596b3;
  --primary-hover: #00aec7;
  --text-main: #1a1a1a;
  --text-sub: #666666;
  --bg-body: #ffffff;
  --bg-alt: #f9fafc;
  --border-color: #e5e9f2;
  --success-green: #28c76f;
  --shadow-card: 0 10px 30px rgba(76, 132, 255, 0.08);
  --shadow-float: 0 15px 35px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 40px rgba(76, 132, 255, 0.12);
}

/* --- 基础重置 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 登录容器内恢复默认盒模型，避免重置影响 */
.login-wrapper,
.login-wrapper * {
  box-sizing: content-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  outline: none;
  font-family: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 按钮样式 --- */
.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(76, 132, 255, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 132, 255, 0.4);
}

.btn-outline {
  background: white;
  border-color: #e5e9f2;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(76, 132, 255, 0.02);
}

/* --- 弹窗样式 (Modal) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  min-width: 420px;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  /* 防止屏幕过小展示不全 */
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.close-btn:hover {
  color: #333;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  color: #111;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary-color);
}

.form-btn {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
}

/* 弹窗底部区域 */
.modal-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.modal-footer a {
  color: var(--primary-color);
  font-weight: 600;
}

.modal-footer-btn {
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
  color: #666;
  font-size: 14px;
}

.modal-footer-btn:hover {
  color: var(--primary-color);
}

.modal-content-login {
  width: 560px;
  max-width: 92vw;
  padding: 20px 0 10px;
}

.modal-content-login .login-wrapper {
  width: 100%;
  padding-top: 0;
}

.modal-content-login .login-main {
  float: none;
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 32px;
}

/* --- 登录 Tab 切换样式 --- */
.login-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.login-tab-item {
  flex: 1;
  text-align: center;
  padding-bottom: 10px;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  font-weight: 500;
  position: relative;
}

.login-tab-item.active {
  color: var(--primary-color);
  font-weight: 700;
}

.login-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.login-mode-content {
  display: none;
}

.login-mode-content.active {
  display: block;
}

/* --- 协议勾选样式 --- */
.agreement-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  margin-top: 5px;
}

.agreement-box input {
  margin-top: 3px;
  cursor: pointer;
}

.agreement-box a {
  color: var(--primary-color);
  text-decoration: none;
}

.agreement-box a:hover {
  text-decoration: underline;
}

/* 忘记密码链接样式 */
.forgot-pwd-link {
  text-align: right;
  margin-bottom: 15px;
  font-size: 12px;
}

.forgot-pwd-link a {
  color: #999;
}

.forgot-pwd-link a:hover {
  color: var(--primary-color);
}

/* --- 导航栏 --- */
header {
  height: 72px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4c84ff 0%, #28c76f 100%);
  border-radius: 8px;
}

.nav-right {
  display: flex;
  gap: 16px;
}

/* --- Hero区域 --- */
.hero-section {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(76, 132, 255, 0.08) 0%, transparent 70%);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #111;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(120deg, var(--primary-color), #28c76f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 60px;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* Hero 动画演示模块 */
.demo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  transform: scale(0.95);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(0.95);
  }
}

.demo-input-mock {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  width: 280px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.demo-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: block;
}

.demo-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.demo-value svg {
  width: 18px;
  margin-right: 8px;
  fill: var(--primary-color);
  flex-shrink: 0;
}

.demo-connector {
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  height: 4px;
  background: #e5e9f2;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.demo-connector::after {
  content: '';
  position: absolute;
  left: -50%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: connectFlow 1.5s infinite linear;
}

@keyframes connectFlow {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

.connector-text {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.demo-result-card {
  background: white;
  width: 460px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(76, 132, 255, 0.1);
  overflow: hidden;
  position: relative;
  text-align: left;
  transition: transform 0.3s;
}

.demo-result-card:hover {
  transform: translateY(-5px);
}

.demo-result-card::before {
  content: '演示结果';
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--success-green);
  color: white;
  padding: 4px 30px;
  font-size: 12px;
  transform: rotate(45deg);
  z-index: 10;
  font-weight: bold;
}

.card-body {
  padding: 24px;
}

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.company-title {
  font-size: 18px;
  font-weight: 700;
  width: 75%;
  line-height: 1.4;
}

.match-score-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.score-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--success-green);
  line-height: 1;
}

.score-label {
  font-size: 12px;
  color: var(--text-sub);
}

.tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ui-tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.tag-blue {
  background: #edf2ff;
  color: var(--primary-color);
}

.tag-cyan {
  background: #e0f7fa;
  color: #00acc1;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f2f5;
}

.info-item label {
  font-size: 12px;
  color: #999;
  display: block;
  margin-bottom: 2px;
}

.info-item p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

/* --- 功能详情板块 (Feature Sections) --- */
.feature-section {
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.feature-section.alt-bg {
  background-color: var(--bg-alt);
}

.feature-box {
  display: flex;
  align-items: center;
  /* 垂直居中对齐 */
  justify-content: space-between;
  gap: 80px;
}

.feature-box.reverse {
  flex-direction: row-reverse;
}

/* 文本区域 */
.feature-text {
  flex: 1;
  max-width: 540px;
}

/* 头部组合样式 (图标+标题) */
.f-header-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.f-icon-box {
  width: 56px;
  height: 56px;
  background: #edf2ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.f-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-color);
}

.f-title {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.f-desc {
  font-size: 17px;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.7;
  padding-left: 4px;
}

.f-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
}

.f-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328C76F'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    no-repeat center;
}

/* 视觉区域 (抽象UI绘制) */
.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.visual-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 480px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.visual-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

/* 场景列表样式 */
.list-mock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.list-mock-item:last-child {
  border-bottom: none;
}

.l-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.l-avatar {
  width: 40px;
  height: 40px;
  background: #f0f2f5;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

.l-avatar.blue {
  background: #edf2ff;
  color: var(--primary-color);
}

.l-avatar.green {
  background: #e8f7f0;
  color: var(--success-green);
}

.l-avatar.cyan {
  background: #e0f7fa;
  color: #00acc1;
}

.l-text {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.l-badge {
  padding: 4px 12px;
  background: #e8f7f0;
  color: var(--success-green);
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  white-space: nowrap;
}

/* 竞品分析样式 */
.radar-center {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(76, 132, 255, 0.3);
  text-align: center;
}

.radar-node {
  position: absolute;
  width: 54px;
  height: 54px;
  background: white;
  border: 2px solid #e5e9f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #666;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.node-1 {
  top: 20px;
  left: 20px;
}

.node-2 {
  top: 40px;
  right: 10px;
}

.node-3 {
  bottom: 20px;
  left: 80px;
}

.line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.line-svg line {
  stroke: #e5e9f2;
  stroke-width: 2;
  stroke-dasharray: 6;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: 1000;
  }
}

/* 供应链地图 - 华南示意图优化 */
.filter-mock {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background: #f4f6f9;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
  width: auto;
  min-width: 80px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-btn.active {
  background: #edf2ff;
  color: var(--primary-color);
  font-weight: 600;
}

.map-container {
  height: 180px;
  background: #f4f6f9;
  border-radius: 12px;
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg-layer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.map-path {
  fill: #e0e4eb;
  stroke: white;
  stroke-width: 2;
}

/* 供应商标记点样式 */
.supplier-group {
  cursor: pointer;
  transition: transform 0.2s;
}

.supplier-group:hover {
  transform: scale(1.1);
  transform-origin: center;
}

.map-pin-circle {
  stroke: white;
  stroke-width: 2;
}

.map-label-bg {
  fill: white;
  stroke: #e5e9f2;
  stroke-width: 1;
  rx: 4;
}

.map-label-text {
  font-size: 10px;
  fill: #333;
  font-weight: 600;
}

@keyframes pulse {
  0% {
    r: 4;
    opacity: 1;
  }

  50% {
    r: 7;
    opacity: 0.6;
  }

  100% {
    r: 4;
    opacity: 1;
  }
}

/* Footer */
footer {
  background: white;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-top: 50px;
}

/* 响应式 */
@media (max-width: 900px) {
  .hero-title {
    font-size: 36px;
  }

  .demo-container {
    flex-direction: column;
    transform: scale(1);
    gap: 10px;
  }

  .demo-connector {
    transform: rotate(90deg);
    margin: 30px 0;
  }

  .demo-input-mock,
  .demo-result-card {
    width: 100%;
  }

  .feature-box,
  .feature-box.reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .f-header-group {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .feature-text {
    margin: 0 auto;
  }

  /* 改为 block 防止按钮和勾选列表并排 */
  .f-list {
    text-align: left;
    display: block;
  }

  /* 防止内部全是 absolute 定位时宽度缩成 0 */
  .feature-visual {
    width: 100%;
  }

  .visual-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Override default.css min-width constraints */
body {
  min-width: 0 !important;
}
.content {
  min-width: 0 !important;
}

/* --- Tablet & Mobile (<= 1024px) --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .feature-box {
    gap: 50px;
  }

  .demo-result-card {
    width: 420px;
  }
}

/* --- Mobile (<= 768px) --- */
@media (max-width: 768px) {
  header {
    height: 60px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo img {
    height: 32px !important;
  }

  .nav-right {
    gap: 8px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .demo-container {
    margin-top: 30px;
    gap: 20px;
  }

  .demo-input-mock {
    padding: 18px;
    width: 100%;
    max-width: 320px;
  }

  .demo-value {
    font-size: 14px;
  }

  .demo-connector {
    min-width: 60px;
    max-width: 80px;
  }

  .demo-result-card {
    width: 100%;
    max-width: 340px;
  }

  .company-title {
    font-size: 15px;
  }

  .score-val {
    font-size: 20px;
  }

  .feature-section {
    padding: 60px 0;
  }

  .feature-text {
    max-width: 100%;
    padding: 0 10px;
  }

  .f-title {
    font-size: 22px;
  }

  .f-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .f-list li {
    font-size: 14px;
    padding-left: 28px;
    margin-bottom: 12px;
  }

  .visual-card {
    padding: 20px;
  }

  /* Footer mobile - use .foot prefix for higher specificity to override index.CRLFkMe1.css */
  .foot .foot-content {
    flex-direction: column;
    margin: 24px 0;
    gap: 24px;
  }

  .foot .foot-left {
    padding-right: 0;
    margin-bottom: 0;
  }

  .foot .foot-right {
    padding-left: 0;
  }

  .foot .foot-vertical-line {
    display: none;
  }

  /* Footer top rows: label + columns stacked vertically */
  .foot .foot-left-top .foot-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .foot .foot-left-top .foot-row:last-child {
    margin-bottom: 0;
  }

  .foot .foot-left-top .w-100,
  .foot .foot-left-top .w-200 {
    width: auto !important;
    min-width: auto !important;
  }

  .foot .foot-left-top .foot-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
  }

  .foot .foot-left-top .foot-col a {
    margin-bottom: 0;
    line-height: 22px;
    font-size: 12px;
  }

  /* Footer bottom rows: copyright & contact info stacked */
  .foot .foot-left-bottom .foot-row {
    display: block;
    margin-bottom: 12px;
  }

  .foot .foot-left-bottom .foot-row:last-child {
    margin-bottom: 0;
  }

  .foot .foot-left-bottom .foot-row > * {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    margin-left: 0;
  }

  .foot .foot-left-bottom .foot-row > *:last-child {
    margin-bottom: 0;
  }

  .foot .foot-left-bottom .mr-40,
  .foot .foot-left-bottom .mr-8 {
    margin-right: 0 !important;
  }

  /* Contact grid on mobile: stack simply, left-aligned */
  .foot .foot-contact-grid {
    display: block;
    min-width: auto;
  }

  .foot .foot-contact-item {
    display: block;
    margin-bottom: 8px;
  }

  .foot .foot-contact-item:last-child {
    margin-bottom: 0;
  }

  .foot .foot-contact-label,
  .foot .foot-contact-value {
    display: inline;
    min-width: auto;
    margin-right: 0;
    margin-bottom: 0;
  }

  .foot .foot-right-header {
    margin-bottom: 8px;
  }

  .foot .foot-links {
    margin-top: 32px;
  }

  /* Modal mobile */
  .modal-content {
    min-width: auto;
    width: 92vw;
    padding: 20px;
    border-radius: 12px;
  }

  .modal-content-login {
    width: 92vw;
    padding: 16px 0 8px;
  }

  .close-btn {
    top: 10px;
    right: 14px;
    font-size: 22px;
  }

  /* Login form mobile */
  .login-main {
    width: 100%;
    max-width: 100%;
  }

  .login-title {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
  }

  .login-title span {
    font-size: 18px;
    padding-bottom: 16px;
  }

  .login-box {
    padding: 0 20px;
  }

  .login-yzm {
    width: 100%;
    box-sizing: border-box;
  }

  .login-yzm-input {
    width: calc(100% - 110px);
  }

  .login-input-long {
    width: calc(100% - 50px);
  }

  .login-button,
  .rtn-login {
    width: 100%;
  }

  .each-login-item-code .login-yzm {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .each-login-item-code .login-input-small {
    flex: 1;
    min-width: 0;
  }

  .each-login-item-code .get-yzm {
    width: 100px;
    flex-shrink: 0;
  }

  .loginAccountForPhone {
    margin-left: 64px;
    width: calc(100% - 74px);
  }

  .each-login-item-agreelist {
    margin-bottom: 30px;
  }

  .login-tips {
    margin-top: -10px;
  }

  /* 竞品分析图在移动端适配 */
  .feature-visual .visual-card[style*='height: 320px'] {
    height: 300px !important;
    overflow: hidden !important;
  }

  .radar-center {
    width: 64px;
    height: 64px;
    font-size: 13px;
  }

  .radar-node {
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  /* 节点使用百分比定位，与 SVG 连线 (20%,25% / 80%,30% / 30%,70%) 对应 */
  .node-1 {
    top: 14%;
    left: 14%;
  }

  .node-2 {
    top: 16%;
    right: 14%;
  }

  .node-3 {
    bottom: 14%;
    left: 18%;
  }
}

/* --- Small Mobile (<= 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

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

  .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
  }

  .nav-right {
    gap: 6px;
  }

  .demo-input-mock {
    max-width: 100%;
  }

  .demo-result-card {
    max-width: 100%;
  }

  .card-body {
    padding: 18px;
  }

  .tag-group {
    gap: 6px;
  }

  .ui-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .f-title {
    font-size: 18px;
  }

  .f-desc {
    font-size: 14px;
  }

  .f-icon-box {
    width: 44px;
    height: 44px;
  }

  .f-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .visual-card {
    padding: 16px;
    border-radius: 14px;
  }

  .list-mock-item {
    padding: 12px 0;
  }

  .l-avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .l-text {
    font-size: 13px;
  }

  .l-badge {
    font-size: 11px;
    padding: 3px 8px;
  }

  .filter-mock {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 10px;
    font-size: 11px;
    height: 28px;
    min-width: 70px;
  }

  .map-container {
    height: 140px;
  }

  .feature-visual .visual-card[style*='height: 320px'] {
    height: 260px !important;
    overflow: hidden !important;
  }

  .radar-center {
    width: 56px;
    height: 56px;
    font-size: 11px;
  }

  .radar-node {
    width: 42px;
    height: 42px;
    font-size: 10px;
  }

  .node-1 {
    top: 12%;
    left: 12%;
  }

  .node-2 {
    top: 14%;
    right: 12%;
  }

  .node-3 {
    bottom: 12%;
    left: 16%;
  }

  .foot {
    font-size: 11px;
    line-height: 18px;
  }

  .foot-content {
    padding: 0 16px;
  }

  .foot-right-header {
    font-size: 13px;
  }

  .foot-contact-label {
    margin-right: 10px;
  }

  .modal-content {
    padding: 16px;
  }

  .login-title span {
    font-size: 16px;
  }

  .login-yzm-input {
    font-size: 13px;
  }

  .get-yzm {
    font-size: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
