/* ========================================
   上海私人借钱 · 空放贷款落地页
   SaaS 风格 · 响应式 · 跨浏览器兼容
   ======================================== */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --primary-soft: #c7d2fe;
  --accent: #2563eb;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-section: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(79, 70, 229, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --container: 1120px;
  --nav-h: 72px;
  --transition: 0.25s ease;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-left: calc(24px + var(--safe-left));
  padding-right: calc(24px + var(--safe-right));
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section__title {
  font-size: 28px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text);
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--primary-soft);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ========== Navigation ========== */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  top: var(--safe-top);
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: var(--nav-h);
  position: relative;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav__cta {
  margin-left: 8px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--border);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(79, 70, 229, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(37, 99, 235, 0.08), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.1fr 0.9fr;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.hero__content,
.hero__visual {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero__title {
  font-size: 36px;
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero__title span {
  color: var(--primary);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title span {
    background-image: linear-gradient(135deg, var(--primary), var(--accent));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  padding: 12px 8px 0;
  width: 100%;
  max-width: 100%;
}

.hero__visual-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #0033ff;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero__visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 460px;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.hero__visual-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.18) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}

.hero__panel {
  position: relative;
  z-index: 2;
  margin: -72px 18px 0;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.hero__panel-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero__panel-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero__form-group {
  margin-bottom: 12px;
}

.hero__form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.hero__form-group input,
.hero__form-group select {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* 防止 iOS 聚焦自动放大 */
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero__form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.hero__form-group input:focus,
.hero__form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
  background: #fff;
}

.hero__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero__form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.hero__float {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
}

.hero__float--top {
  top: 28px;
  left: -8px;
}

.hero__float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hero__float-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.hero__float-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== Features ========== */
.features__grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.features__grid > *,
.services__grid > *,
.process__steps > * {
  min-width: 0;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========== Services ========== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}

.service-card__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.25);
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* ========== Process ========== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary), var(--primary-soft));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.process-step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--primary-soft);
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.process-step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== Why Us ========== */
.why__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.why__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.why__item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why__item p {
  font-size: 13px;
  color: var(--text-secondary);
}

.why__visual {
  position: relative;
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 28px;
  padding: 48px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.why__visual::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -60px;
  right: -60px;
}

.why__visual-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.why__visual-desc {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.75;
  position: relative;
  z-index: 1;
  max-width: 320px;
}

.why__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.why__metric {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.why__metric strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.why__metric span {
  font-size: 13px;
  opacity: 0.85;
}

/* ========== FAQ ========== */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  transition: background var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item summary:hover {
  background: var(--bg-soft);
}

.faq__item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== CTA Banner ========== */
.cta {
  padding: 0 0 96px;
}

.cta__box {
  background: linear-gradient(135deg, #312e81 0%, var(--primary) 50%, var(--accent) 100%);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta__box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -100px;
  left: -80px;
}

.cta__box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -60px;
  right: -40px;
}

.cta__title {
  font-size: 26px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta__desc {
  font-size: 16px;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  line-height: 1.75;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.cta .btn--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta .btn--primary:hover {
  background: var(--primary-light);
}

.cta .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ========== Footer ========== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer__about {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer__col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__flinks {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 28px;
  margin-bottom: 28px;
}

.footer__flinks-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer__flinks-list a {
  color: #94a3b8;
  -webkit-transition: color var(--transition);
  transition: color var(--transition);
}

.footer__flinks-list a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer__disclaimer {
  width: 100%;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: #64748b;
}

/* ========== 触屏取消粘滞悬停 ========== */
@media (hover: none) {
  .feature-card:hover,
  .service-card:hover {
    -webkit-transform: none;
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }

  .btn:hover {
    -webkit-transform: none;
    transform: none;
  }
}

/* ========== 大屏收窄横幅间距 ========== */
@media (max-width: 1100px) {
  .hero__grid {
    gap: 40px;
  }

  .hero__title {
    font-size: 40px;
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .why__layout {
    gap: 40px;
  }
}

/* ========== 平板 ========== */
@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__subtitle {
    max-width: none;
  }

  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 8px;
  }

  .hero__visual-img {
    max-height: 420px;
  }

  .hero__float {
    display: none;
  }

  .features__grid {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process__steps::before {
    display: none;
  }

  .why__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== 手机 / 小屏平板 ========== */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section__desc {
    font-size: 15px;
  }

  .nav {
    padding-top: var(--safe-top);
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-h) - var(--safe-top));
    max-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 16px 24px calc(24px + var(--safe-bottom));
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .nav__menu.is-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .nav__link {
    padding: 14px 16px;
    min-height: 44px;
  }

  .nav__cta {
    margin: 8px 0 0;
  }

  .nav__cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .nav__toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .hero__badge {
    font-size: 12px;
    max-width: 100%;
  }

  .hero__stats {
    gap: 16px 24px;
  }

  .hero__stat-value {
    font-size: 24px;
  }

  .hero__visual {
    padding: 0;
  }

  .hero__visual-frame {
    border-radius: 22px;
    max-width: 100%;
  }

  .hero__visual-img {
    max-height: 360px;
  }

  .hero__panel {
    margin: -56px 12px 0;
    padding: 20px;
  }

  .hero__form-row {
    grid-template-columns: 1fr;
  }

  .features__grid,
  .services__grid,
  .process__steps,
  .footer__grid,
  .why__metrics {
    grid-template-columns: 1fr;
  }

  .service-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .cta__box {
    padding: 40px 20px;
    border-radius: 22px;
  }

  .cta__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .why__visual {
    min-height: 0;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .footer {
    padding: 48px 0 calc(28px + var(--safe-bottom));
  }

  .footer__bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .faq__item summary {
    padding: 16px 18px;
    font-size: 15px;
    min-height: 48px;
  }

  .faq__item p {
    padding: 0 18px 16px;
  }
}

/* ========== 小屏手机 ========== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }

  .hero__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero__visual-img {
    max-height: 280px;
  }

  .hero__panel {
    margin: -44px 8px 0;
    padding: 16px;
  }

  .hero__stats > div {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 40%;
    flex: 1 1 40%;
    min-width: 120px;
  }

  .process-step__num {
    width: 60px;
    height: 60px;
    font-size: 18px;
    border-radius: 16px;
  }

  .btn {
    min-height: 44px;
  }
}

/* ========== 横屏小高度 ========== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 32px 0 48px;
  }

  .nav__menu {
    max-height: 70vh;
  }
}

/* ========== 减少动效 ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== 打印 ========== */
@media print {
  .nav,
  .nav__toggle,
  .hero__panel,
  .cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}
