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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f5f5f5;
  color: #333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  overflow-x: hidden;
}

/* ========== 第一页 - 头部图片 ========== */
.page-header {
  width: 100%;
  max-width: 100%;
  height: clamp(130px, 30vw, 200px);
  overflow: hidden;
  background: #fff;
}

.header-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* ========== 第一页 - 表单 ========== */
.form-section {
  background: #fff;
  padding: 20px 16px 40px;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.form-label {
  width: 90px;
  flex-shrink: 0;
  font-size: 15px;
  color: #333;
  text-align: left;
}

.form-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #4a9cf5;
}

.form-input::placeholder {
  color: #bbb;
}

.form-select {
  appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  color: #bbb;
}

.form-select:valid,
.form-select option {
  color: #333;
}

.submit-btn {
  margin-top: 32px;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 24px;
  background: linear-gradient(90deg, #ff8c00 0%, #ffb347 50%, #ffc857 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.submit-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

/* ========== 第二页 - 结果页 ========== */
.result-page {
  background: #f5f5f5;
}

.result-hero {
  background: linear-gradient(180deg, #3d8ef0 0%, #2b7de9 50%, #1a6dd4 100%);
  padding: 40px 20px 50px;
  position: relative;
  overflow: hidden;
}

.result-hero::before,
.result-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.result-hero::before {
  width: 200px;
  height: 200px;
  top: -40px;
  right: -60px;
}

.result-hero::after {
  width: 160px;
  height: 160px;
  bottom: 20px;
  left: -50px;
}

.gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}

.gauge-content {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.gauge-amount {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 1px;
}

.gauge-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.result-info {
  margin: -20px 16px 16px;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 20px 16px;
  position: relative;
  z-index: 2;
}

.info-row {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-label {
  color: #666;
}

.info-result {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-top: 12px;
}

.highlight-amount {
  color: #c0392b;
  font-weight: normal;
  font-size: inherit;
}

.result-tips {
  margin: 0 16px 40px;
  padding: 16px 0;
}

.tips-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.tips-content {
  font-size: 13px;
  color: #000;
  line-height: 1.8;
}

.tips-content .highlight-amount {
  color: #000;
}
