*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

.portrait-mask {
  display: none;
}

.landscape-layout {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e1e4ea;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
}

.service-strip {
  padding: 10px 0;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.service-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.service-tab {
  flex: 1;
  min-width: 80px;
  padding: 10px 8px;
  border-radius: 999px;
  border: none;
  background: #eff6ff;
  color: #2563eb;
  font-size: 15px;
  line-height: 1.3;
  white-space: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-tab:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

.service-tab.tab-active {
  background: #2563eb;
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel-active {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn.primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.3);
}

.alipay-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #1677ff;
  color: #ffffff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
  vertical-align: middle;
}

.btn.ghost {
  background: transparent;
  color: #4b5563;
  border: 1px dashed #c4c9d4;
}

.btn.ghost:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

.section {
  padding: 40px 0;
}

.section-annual {
  background: #eef5ff;
}

.section-dereg {
  background: #fef3f0;
}

.section-header {
  text-align: left;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #111827;
}

.section-header p {
  font-size: 14px;
  color: #6b7280;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #111827;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #4b5563;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.site-footer {
  border-top: 1px solid #e1e4ea;
  background: #ffffff;
  padding: 16px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

.agreement-check input[type="checkbox"] {
  margin-top: 3px;
}

.agreement-check a {
  color: #2563eb;
}

.agreement-check a:hover {
  text-decoration: underline;
}

.note {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
}

.note + .note {
  margin-top: 6px;
}

.note.small {
  font-size: 12px;
  color: #6b7280;
}

.float-kefu {
  position: fixed;
  right: 12px;
  bottom: 80px;
  z-index: 20;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
  cursor: pointer;
}

.float-kefu:hover {
  background: #059669;
}

.float-complaint {
  position: fixed;
  right: 12px;
  bottom: 24px;
  z-index: 19;
  background: #f97316;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.45);
  cursor: pointer;
}

.float-complaint:hover {
  background: #ea580c;
}

.complaint-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 0 16px;
}

.complaint-modal.open {
  display: flex;
}

.complaint-dialog {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 14px 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.complaint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.complaint-header h3 {
  font-size: 16px;
  color: #111827;
}

.complaint-close {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.complaint-body .form-group textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 13px;
  outline: none;
  resize: vertical;
  min-height: 70px;
}

.complaint-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 600px) {
  .section-actions {
    flex-direction: column;
  }
}
