/* 卖车页：和首页卖车区同一套风格（深色圆角面板 + 编号步骤卡 + 蓝色主按钮/浅色描边按钮）。
   样式从 css/home.css 的 .sell-banner* / .sell-step* / .sell-btn* 复制过来，不引用 home.css。 */

.sell-page {
  min-height: 100vh;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

/* ---------- 顶部深色面板 ---------- */
.sell-banner {
  padding: 2rem 1.5rem 1rem;
}

.sell-banner-inner {
  position: relative;
  max-width: 82.5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(59, 130, 246, 0.16), transparent 70%),
    linear-gradient(160deg, #0f172a 0%, #172036 100%);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.55);
}

.sell-banner-eyebrow {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.sell-banner-title {
  margin: 0;
  font-size: clamp(2.125rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.sell-banner-subtitle {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.sell-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.sell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sell-btn:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.sell-btn-primary {
  background: #2563eb;
  color: #fff;
}

.sell-btn-primary:hover {
  background: #1d4ed8;
}

.sell-btn-primary svg {
  transition: transform 0.2s ease;
}

.sell-btn-primary:hover svg {
  transform: translateX(3px);
}

.sell-btn-outline {
  border: 1px solid rgba(226, 232, 240, 0.45);
  color: #fff;
  background: transparent;
}

.sell-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 下面的浅色区块 ---------- */
.sell-section {
  padding: 3.5rem 1.5rem 0;
}

.sell-section:last-child {
  padding-bottom: 5rem;
}

.sell-container {
  max-width: 82.5rem;
  margin: 0 auto;
}

.sell-container-narrow > * {
  max-width: 48rem;
}

.sell-section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.sell-page a:not(.sell-btn) {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sell-page a:not(.sell-btn):hover {
  color: #1d4ed8;
}

.sell-page a:not(.sell-btn):focus-visible,
.sell-faq-item summary:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 3 个步骤：放在深色主面板右边 */
.sell-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.sell-step {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: baseline;
}

.sell-step-num {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.5);
  color: #bfdbfe;
  font-size: 0.8125rem;
  font-weight: 700;
  align-self: start;
}

.sell-step-title {
  margin: 0.125rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.sell-step-text {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #94a3b8;
}

.sell-step-text a {
  color: #bfdbfe;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 「What you get」一行短事实 */
.sell-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.sell-fact {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sell-fact + .sell-fact {
  border-left: 1px solid #e2e8f0;
}

.sell-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.sell-fact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sell-fact-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
}

.sell-fact-text {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

.sell-section-intro {
  margin: -0.5rem 0 1.5rem;
  font-size: 1.0625rem;
  color: #475569;
}

/* FAQ */
.sell-faq {
  border-top: 1px solid #e2e8f0;
}

.sell-faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.sell-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
}

.sell-faq-item summary::-webkit-details-marker {
  display: none;
}

.sell-faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
  color: #64748b;
}

.sell-faq-item[open] summary::after {
  content: '\2212';
}

.sell-faq-item p {
  margin: 0;
  padding: 0 2rem 1.25rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

.sell-faq-cta {
  margin: 1.75rem 0 0;
  font-size: 1rem;
  color: #475569;
}

.sell-faq-cta a {
  font-weight: 600;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .sell-banner-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 3rem;
  }
  .sell-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sell-fact:nth-child(3) {
    border-left: 0;
  }
  .sell-fact:nth-child(n + 3) {
    border-top: 1px solid #e2e8f0;
  }
}

@media (max-width: 768px) {
  .sell-banner {
    padding: 1rem 1rem 0.5rem;
  }
  .sell-banner-inner {
    padding: 2.25rem 1.375rem;
    border-radius: 1.25rem;
  }
  .sell-banner-subtitle {
    font-size: 1rem;
  }
  .sell-banner-actions {
    flex-direction: column;
    margin-top: 2rem;
  }
  .sell-btn {
    width: 100%;
  }
  .sell-section {
    padding: 2.5rem 1rem 0;
  }
  .sell-section:last-child {
    padding-bottom: 3.5rem;
  }
  .sell-steps {
    gap: 0.75rem;
  }
  .sell-step {
    padding: 1rem 1.125rem;
  }
  .sell-facts {
    grid-template-columns: 1fr;
  }
  .sell-fact {
    padding: 1rem 1.125rem;
  }
  .sell-fact + .sell-fact {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }
  .sell-faq-item p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sell-btn,
  .sell-btn-primary svg {
    transition: none;
  }
  .sell-btn-primary:hover svg {
    transform: none;
  }
}
