:root {
  --brand: #f37021;
  --brand-dark: #dc5d11;
  --brand-soft: #fff2e8;
  --text-main: #3f3f3f;
  --text-muted: #757575;
  --line: #e7e7e7;
  --bg: #f4f4f4;
  --card: #ffffff;
  --danger: #d64545;
  --danger-bg: #fff4f4;
  --danger-border: #f1b8b8;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 14px 30px rgba(243, 112, 33, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, #ffffff 0%, #f7f7f7 30%, #f2f2f2 100%);
}

img {
  max-width: 100%;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 18px 42px;
}

/* 顶部 */
.topbar {
  margin-bottom: 18px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(243, 112, 33, 0.12);
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.logo {
  height: 52px;
  display: block;
}

/* 通用卡片 */
.hero-card,
.form-card {
  background: var(--card);
  border: 1px solid rgba(243, 112, 33, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Hero */
.hero-card {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 34px;
  padding: 26px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--brand) 0%, #ff9a5f 100%);
}

.hero-image {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececec;
  min-height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.18;
  color: var(--text-main);
  word-break: break-word;
}

.hero-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

.advantages-card {
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
  border: 1px solid #ededed;
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.advantages-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--brand);
}

.advantages-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
  color: var(--text-main);
}

/* 表单 */
.form-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, #ff9e66 100%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  color: var(--text-main);
}

.section-note {
  margin: 0;
  max-width: 360px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
  text-align: right;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-main);
  font-size: 14px;
}

.required-mark {
  color: var(--brand);
  margin-left: 2px;
}

.form-group input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  color: var(--text-main);
  transition: all 0.22s ease;
}

.form-group input::placeholder {
  color: #a0a0a0;
}

.form-group input:hover {
  border-color: #c7c7c7;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.10);
  transform: translateY(-1px);
}

.form-group input.input-error {
  border-color: var(--danger);
  background: var(--danger-bg);
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.08);
}

.field-error {
  min-height: 18px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}

/* remember */
.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
}

.remember-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}

.remember-row label {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

/* 隐私提示 */
.privacy-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f4 100%);
  border: 1px solid #e9e9e9;
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  color: #666;
  line-height: 1.75;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 按钮 */
.primary-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8e4d 100%);
  color: white;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 10px 22px rgba(243, 112, 33, 0.22);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(243, 112, 33, 0.28);
}

.primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(243, 112, 33, 0.18);
}

/* 选项区 */
#optionsSection {
  animation: fadeSlideUp 0.45s ease;
}

.multi-options {
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px;
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.option-card:hover {
  border-color: rgba(243, 112, 33, 0.6);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.option-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

.option-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option-card strong {
  font-size: 15px;
  color: var(--text-main);
}

.option-card small {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 13px;
}

/* 信息提示框 */
.message-box {
  background: linear-gradient(180deg, #fff8f3 0%, #fff1e8 100%);
  color: #a64a15;
  border: 1px solid #f1c6ad;
  padding: 15px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  line-height: 1.8;
  box-shadow: 0 6px 14px rgba(243, 112, 33, 0.08);
}

/* 成功浮层 */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 46, 46, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.success-modal {
  width: 100%;
  max-width: 370px;
  background: #fff;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  animation: popIn 0.35s ease;
  border: 1px solid rgba(243, 112, 33, 0.08);
}

.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #ff995b 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(243, 112, 33, 0.28);
}

.success-modal h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--text-main);
}

.success-modal p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* 工具类 */
.hidden {
  display: none !important;
}

/* 动画 */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 响应式 */
@media (max-width: 920px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .section-head {
    flex-direction: column;
    gap: 10px;
  }

  .section-note {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 16px 12px 28px;
  }

  .logo {
    height: 44px;
  }

  .hero-card,
  .form-card {
    border-radius: 18px;
  }

  .hero-card {
    padding: 18px;
  }

  .form-card {
    padding: 20px 18px;
  }

  .hero-image {
    min-height: 220px;
    border-radius: 14px;
  }

  .hero-content h1 {
    font-size: 25px;
  }

  .advantages-card h2,
  .section-head h2 {
    font-size: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group input {
    height: 48px;
    border-radius: 12px;
  }

  .primary-btn {
    height: 50px;
    border-radius: 12px;
  }

  .success-modal {
    max-width: 100%;
    border-radius: 20px;
    padding: 26px 20px;
  }

  .success-modal h3 {
    font-size: 24px;
  }

  .success-modal p {
    font-size: 15px;
  }
}