/* 湖南信友商务咨询有限公司 H5 贷款落地页候选样式 */

:root {
  --blue-900: #0a1f44;
  --blue-700: #0e3a6e;
  --blue-500: #1b6ec2;
  --blue-300: #60a5fa;
  --orange: #f59e0b;
  --text: #1a2b5f;
  --muted: #6b7280;
  --surface: #ffffff;
  --input-border: #d1d5db;
  --bg: #f5f8fc;
  --radius: 18px;
  --shadow: 0 10px 25px rgba(11, 36, 82, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-width: 320px;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid rgba(27, 110, 194, 0.1);
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(11, 36, 82, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: 0.02em;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 20px 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d2b55 0%, #1b4f8f 60%, #3b82f6 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(96,165,250,0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.25) 0%, transparent 40%),
    linear-gradient(180deg, rgba(13,43,85,0) 0%, rgba(13,43,85,0.4) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 38px,
      rgba(255,255,255,0.06) 38px,
      rgba(255,255,255,0.06) 40px
    );
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-subtitle {
  color: #bfdbfe;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero-note {
  color: rgba(255,255,255,0.82);
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto;
}

/* Selling cards */
.selling-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px;
  margin-top: -52px;
  z-index: 3;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27,110,194,0.18);
  position: relative;
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(27,110,194,0.25), rgba(59,130,246,0.1), rgba(27,110,194,0.2));
  z-index: -1;
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.card-text-sm {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
}

.card-text-sm.rate {
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 800;
}

.office-img {
  display: none;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 22px 16px 10px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid rgba(27,110,194,0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(11,36,82,0.06);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}

.placeholder-pill {
  flex: 1 1 120px;
  min-width: 120px;
  background: var(--blue-500);
  opacity: 0.9;
}

/* Form section */
.form-section {
  padding: 16px 16px 28px;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.required {
  color: #ef4444;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(27,110,194,0.12);
}

.cta-button {
  position: relative;
  width: 100%;
  padding: 16px 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b6ec2, #2563eb);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37,99,235,0.32);
  margin-top: 6px;
}

.cta-button .finger {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  animation: tap 1.2s ease-in-out infinite;
}

@keyframes tap {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.15); }
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 12px;
}

.agreement {
  margin-top: 16px;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.5;
}

.agreement label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.agreement input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
}

.agreement a {
  color: var(--blue-500);
  text-decoration: none;
}

/* Notice */
.notice {
  background: #eef4fd;
  padding: 22px 18px;
  margin: 0 16px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(27,110,194,0.12);
}

.notice h2 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--blue-700);
}

.notice ul {
  padding-left: 16px;
}

.notice li {
  font-size: 0.75rem;
  color: #374151;
  margin-bottom: 6px;
}

/* Footer */
footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.78);
  padding: 24px 18px 34px;
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.8;
}

footer p:first-child {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.placeholder-phone {
  color: #9ca3af;
}

.copyright {
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
}

/* Responsive tweaks */
@media (max-width: 360px) {
  .selling-cards {
    gap: 8px;
    padding: 0 12px;
  }
  .card {
    padding: 14px 6px;
  }
  .card-text {
    font-size: 0.72rem;
  }
}

@media (min-width: 640px) {
  body {
    max-width: 640px;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 3rem;
  }
}
