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

:root {
  --blue: #3478f6;
  --green: #059669;
  --text: #111827;
  --muted: #6b7280;
  --shadow: 0 24px 70px rgba(37, 99, 235, 0.12);
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(52, 120, 246, 0.08);
  filter: blur(50px);
  z-index: -1;
}

body::before {
  top: 120px;
  left: -160px;
}

body::after {
  right: -160px;
  bottom: 100px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(232, 237, 245, 0.82);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.3px;
}

.logo-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  box-shadow: 0 10px 28px rgba(52, 120, 246, 0.16);
  border: 1px solid #e5efff;
}

.logo {
  width: 26px;
  height: 26px;
}

.home-btn {
  margin-left: auto;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  color: #3478f6;
  background: rgba(52, 120, 246, 0.08);
  border: 1px solid rgba(52, 120, 246, 0.18);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}

.home-btn:hover {
  transform: translateY(-1px);
  background: rgba(52, 120, 246, 0.14);
  box-shadow: 0 10px 22px rgba(52, 120, 246, .14);
}

.home-btn:active {
  transform: scale(.98);
}

.main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 70px 24px 36px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.86);
  color: #2563eb;
  border: 1px solid #dbeafe;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease both;
}

.title {
  font-size: 44px;
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -1px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.04s;
}

.title span {
  background: linear-gradient(90deg, #2f73ff, #7aa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  color: #4b5563;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe4f0, transparent);
  margin: 34px auto 34px;
  width: 100%;
}

.panel {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 234, 254, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: fadeUp 0.75s ease both;
  animation-delay: 0.16s;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.product-tab {
  height: 76px;
  border: 1.5px solid #d1d5db;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 850;
  cursor: pointer;
  transition: 0.28s ease;
}

.product-tab.active {
  border-color: #6ea0ff;
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(52, 120, 246, 0.14);
  transform: translateY(-2px);
}

.tab-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #737373;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.product-tab.active .tab-number {
  background: linear-gradient(135deg, #6da0ff, #3478f6);
  box-shadow: 0 8px 18px rgba(52, 120, 246, 0.26);
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.form-card,
.guide-card {
  border: 1px solid rgba(219, 234, 254, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.08);
}

.form-card {
  padding: 24px;
  text-align: left;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 850;
}

.form-pill,
.guide-kicker {
  border-radius: 999px;
  padding: 6px 14px;
  color: #059669;
  background: #dffbea;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.field {
  display: block;
  margin-top: 16px;
}

.field > span {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
  pointer-events: none;
}

.input,
.textarea {
  width: 100%;
  border: 1.5px solid #d7deea;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  outline: none;
  transition: 0.24s ease;
}

.input {
  height: 52px;
  border-color: #7aa8ff;
  border-radius: 12px;
  padding: 0 48px 0 16px;
  font-size: 15px;
}

.textarea {
  min-height: 190px;
  resize: vertical;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.input::placeholder,
.textarea::placeholder {
  color: #9ca3af;
}

.input:focus,
.textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(52, 120, 246, 0.1);
  background: #ffffff;
}

.helper-box {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: rgba(239, 246, 255, 0.74);
  color: #2563eb;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
}

.btn {
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.btn-green {
  color: #ffffff;
  background: linear-gradient(90deg, #059669, #86efac);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.22);
}

.btn-big {
  display: block;
  width: min(100%, 420px);
  height: 58px;
  margin: 26px auto 0;
  font-size: 18px;
  border-radius: 14px;
  letter-spacing: 0.4px;
}

.guide-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  text-align: left;
}

.guide-card h2 {
  margin-top: 14px;
  font-size: 23px;
  line-height: 1.2;
}

.guide-card > p {
  margin-top: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}

.guide-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.guide-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5edf9;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.guide-index {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6da0ff, #3478f6);
  font-weight: 900;
}

.guide-item h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.guide-item p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
}

.guide-action {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #2563eb;
  background: #eaf2ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.guide-note {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
  line-height: 1.65;
}

.result {
  margin: 24px auto 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #fecaca;
  background: rgba(255, 241, 242, 0.86);
  color: #111827;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
  animation: pop 0.28s ease both;
}

.result[hidden] {
  display: none;
}

.result.success {
  border-color: #bbf7d0;
  background: rgba(240, 253, 244, 0.9);
}

.result-title {
  font-weight: 850;
  margin-bottom: 8px;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease both;
}

.modal-mask.open {
  display: flex;
}

.confirm-modal {
  width: min(100%, 380px);
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.22);
  text-align: center;
  animation: modalPop 0.24s ease both;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: transparent;
  color: #9ca3af;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: white;
  font-size: 20px;
}

.confirm-modal h3 {
  font-size: 22px;
  margin-bottom: 22px;
}

.account-card {
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
  text-align: left;
  margin-bottom: 16px;
}

.account-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 8px 0;
  word-break: break-all;
}

.warning-line {
  margin-top: 12px;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  line-height: 1.5;
}

.modal-confirm,
.modal-cancel {
  width: 100%;
  height: 44px;
  border-radius: 9px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-confirm {
  color: white;
  background: linear-gradient(90deg, #059669, #86efac);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.2);
}

.modal-cancel {
  margin-top: 10px;
  border: 1px solid #d1d5db;
  color: #6b7280;
  background: white;
}

.notice-modal {
  max-width: 390px;
}

.notice-text {
  margin: 8px 0 20px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 14px;
  text-align: center;
  word-break: break-word;
}

.notice-modal.error .modal-icon {
  background: #ef4444;
}

.notice-modal.error .modal-confirm {
  background: linear-gradient(90deg, #ef4444, #f97316);
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.2);
}

.footer {
  width: min(100%, 1220px);
  margin: 58px auto 0;
  padding: 22px 24px 40px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #111827;
  font-size: 13px;
  line-height: 2;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px) {
  .workbench {
    grid-template-columns: 1fr;
  }

  .guide-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .header {
    padding: 0 18px;
  }

  .home-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .main {
    padding-top: 44px;
  }

  .title {
    font-size: 32px;
    letter-spacing: -0.4px;
  }

  .subtitle {
    font-size: 16px;
  }

  .panel {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .product-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .product-tab {
    height: 64px;
    flex-direction: row;
  }

  .form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn-big {
    width: 100%;
  }
}
