*,
*::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;
}

.nav a {
  margin-left: 24px;
  font-size: 14px;
  color: #4b5563;
}

.nav a:hover {
  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;
}

.service-tab:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

.service-tab:active,
.service-tab:focus {
  background: #2563eb;
  color: #ffffff;
}

.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.outline {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.btn.outline:hover {
  background: #eff6ff;
}

.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.alt {
  background: #ffffff;
}

/* 四个业务板块背景色区分 */
.section-annual {
  background: #eef5ff;
}

.section-dereg {
  background: #fef3f0;
}

.section-vas {
  background: #f1fbf5;
}

.section-soft {
  background: #f7f3ff;
}

.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;
}

.card ul {
  list-style: disc;
  padding-left: 18px;
  font-size: 13px;
  color: #4b5563;
}

.card li + li {
  margin-top: 4px;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact {
  background: #f9fafb;
}

.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;
}

.agreements-tip {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.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;
}

.note-list {
  list-style: disc;
  padding-left: 18px;
  font-size: 13px;
  color: #4b5563;
}

.note-list li + li {
  margin-top: 4px;
}

.note-title {
  font-size: 14px;
  color: #111827;
  margin-top: 10px;
  margin-bottom: 6px;
}

.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;
}

/* 首页导航样式 */
.service-menu {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.service-menu-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-menu-header h1 {
  font-size: 28px;
  color: #111827;
  margin-bottom: 8px;
}

.service-menu-header p {
  font-size: 15px;
  color: #6b7280;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #2563eb;
}

.service-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 0;
}

.service-card-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #2563eb;
  opacity: 0.5;
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  right: 16px;
}

.service-card-annual {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}

.service-card-dereg {
  background: linear-gradient(135deg, #fef3f0 0%, #ffffff 100%);
}

.service-card-vas {
  background: linear-gradient(135deg, #f1fbf5 0%, #ffffff 100%);
}

.service-card-soft {
  background: linear-gradient(135deg, #f7f3ff 0%, #ffffff 100%);
}

/* 业务页面顶部导航 */
.page-nav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.page-nav-back:hover {
  background: #f3f4f6;
  color: #2563eb;
}

.page-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-nav-links a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.page-nav-links a:hover {
  background: #f3f4f6;
  color: #2563eb;
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .page-nav-links {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

