/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--cc-radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-outline {
  color: var(--cc-brand);
  border: 1px solid rgba(var(--cc-brand-rgb), .42);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(var(--cc-brand-rgb), .08);
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
  box-shadow: 0 8px 20px rgba(var(--cc-brand-rgb), .25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: var(--cc-white);
}

/* Next desktop header/footer */
.icon-svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  scroll-behavior: smooth;
}

.cc-next-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 62px;
  border-bottom: 1px solid rgba(207, 232, 224, .75);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 34px rgba(15, 91, 67, .08);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  backdrop-filter: saturate(160%) blur(22px);
}

.cc-next-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  height: 100%;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 32px;
}

.cc-next-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 118px;
  color: #13211d;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.cc-next-brand:hover {
  color: var(--cc-brand-dark);
}

.cc-next-brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.cc-next-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  gap: 28px;
  margin-left: 0;
  color: #233933;
  font-size: 14px;
  font-weight: 500;
}

.cc-next-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  white-space: nowrap;
  transition: color .18s ease;
}

.cc-next-links a:hover,
.cc-next-links a.active {
  color: var(--cc-brand);
}

.cc-next-actions {
  display: inline-flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  margin-left: auto;
}

.cc-next-search {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  width: clamp(190px, 17vw, 280px);
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(var(--cc-brand-rgb), .24);
  border-radius: 8px;
  background: #f4fbf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.cc-next-search .icon-svg {
  width: 15px;
  height: 15px;
  color: var(--cc-brand);
  stroke-width: 2.2;
  opacity: .9;
  flex-shrink: 0;
}

.cc-next-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #1c332d;
  font-size: 13px;
  line-height: 1;
}

.cc-next-search input::placeholder {
  color: #90a39b;
}

.cc-next-search input::-webkit-search-cancel-button,
.cc-next-search input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.cc-next-search:focus-within {
  border-color: rgba(var(--cc-brand-rgb), .58);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--cc-brand-rgb), .14);
}

.cc-next-login {
  align-self: center;
  color: #1f322d;
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease;
}

.cc-next-login:hover {
  color: var(--cc-brand-dark);
}

.cc-next-user {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  margin-right: 18px;
}

.cc-next-user::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 240px;
  height: 14px;
}

.cc-next-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(var(--cc-brand-rgb), .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(15, 95, 71, .1);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cc-next-avatar:hover,
.cc-next-user:focus-within .cc-next-avatar {
  transform: translateY(-1px);
  border-color: rgba(var(--cc-brand-rgb), .38);
  box-shadow: 0 14px 30px rgba(var(--cc-brand-rgb), .16);
}

.cc-next-avatar-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cc-brand-bg), var(--cc-brand-soft));
  color: var(--cc-brand-dark);
}

.cc-next-avatar-mark svg {
  width: 18px;
  height: 18px;
}

.cc-next-avatar-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.cc-next-avatar-dot {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--cc-brand);
  box-shadow: 0 0 0 3px rgba(var(--cc-brand-rgb), .12);
}

.cc-next-user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 238px;
  padding: 10px;
  border: 1px solid rgba(var(--cc-brand-rgb), .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 52px rgba(15, 95, 71, .16);
  backdrop-filter: saturate(150%) blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.cc-next-user:hover .cc-next-user-menu,
.cc-next-user:focus-within .cc-next-user-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cc-next-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cc-brand-bg), rgba(255, 255, 255, .9));
}

.cc-next-user-card-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
  color: #fff;
  overflow: hidden;
  flex: 0 0 auto;
}

.cc-next-user-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-next-user-card-avatar svg {
  width: 20px;
  height: 20px;
}

.cc-next-user-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.cc-next-user-card-copy strong {
  color: #17352d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-next-user-card-copy em {
  color: #6d8179;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.cc-next-user-menu-item {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 10px;
  border-radius: 12px;
  color: #314740;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.cc-next-user-menu-item:hover {
  transform: translateX(2px);
  background: var(--cc-brand-bg);
  color: var(--cc-brand-dark);
}

.cc-next-user-menu-item.is-logout {
  margin-top: 8px;
  border-top: 1px solid rgba(var(--cc-brand-rgb), .12);
  border-radius: 0 0 12px 12px;
  color: #8a4b3f;
}

.cc-next-user-menu-item.is-logout:hover {
  background: rgba(220, 38, 38, .07);
  color: var(--cc-danger);
}

.cc-next-actions .cc-next-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: none;
}

.cc-next-actions .cc-next-signup:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, var(--cc-brand-strong), var(--cc-brand-dark));
  color: #fff;
  filter: none;
}

.cc-next-footer {
  display: none;
  padding: 52px 0 0;
  border-top: 1px solid #eef0ef;
  background: #fff;
}

.cc-next-footer > .container {
  width: min(1680px, calc(100% - 48px));
  max-width: 1680px;
  padding: 0;
}

.cc-next-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr) 1.4fr;
  gap: 28px 24px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid #eef0ef;
}

.cc-next-footer-brand-col .cc-next-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-next-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cc-next-brand-name {
  color: #101a16;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.cc-next-brand-en {
  color: #8fa39b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.cc-next-footer-desc {
  max-width: 260px;
  margin: 16px 0 20px;
  color: #6b7d77;
  font-size: 13px;
  line-height: 1.85;
}

.cc-next-footer-trust-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 8px;
}

.cc-next-footer-trust-icons span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4f6860;
  font-size: 12px;
  font-weight: 600;
}

.cc-next-footer-trust-icons .icon-svg {
  width: 14px;
  height: 14px;
  color: var(--cc-brand);
  stroke-width: 2.2;
  flex-shrink: 0;
}

.cc-next-footer-nav-col h4,
.cc-next-footer-contact-col h4 {
  margin: 0 0 16px;
  color: #101a16;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.cc-next-footer-nav-col a {
  display: block;
  padding: 5px 0;
  color: #6b7d77;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition: color .15s;
}

.cc-next-footer-nav-col a:hover {
  color: var(--cc-brand);
}

.cc-next-footer-link-more {
  margin-top: 8px;
  color: var(--cc-brand) !important;
  font-size: 13px;
  font-weight: 700;
}

.cc-next-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.cc-next-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cc-next-fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0faf6;
  color: var(--cc-brand);
  flex-shrink: 0;
}

.cc-next-fc-icon .icon-svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.cc-next-fc-label {
  display: block;
  margin-bottom: 2px;
  color: #8fa39b;
  font-size: 11px;
  font-weight: 600;
}

.cc-next-fc-value {
  display: block;
  color: #2c3e38;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.cc-next-footer-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 20px;
  border: 1.5px solid var(--cc-brand);
  border-radius: 8px;
  color: var(--cc-brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.cc-next-footer-consult-btn:hover {
  background: var(--cc-brand);
  color: #fff;
}

.cc-next-footer-consult-btn .icon-svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.cc-next-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: 10px;
  padding: 18px 0;
  border-top: 1px solid #eef4f1;
  color: #71877f;
  font-size: 12px;
}

.cc-next-copyright-beian {
  display: flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  min-width: 0;
}

.cc-next-copyright-beian a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #526b62;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}

.cc-next-copyright-beian a:hover {
  color: var(--cc-brand);
}

.cc-next-beian-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.cc-next-copyright-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #dde5e1;
  border-radius: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s;
}

.cc-next-copyright-lang:hover {
  border-color: var(--cc-brand);
  color: var(--cc-brand);
}

.cc-next-copyright-lang .icon-svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

@media (min-width: 761px) {
  .cc-header,
  .cc-footer,
  .mobile-footer-nav {
    display: none;
  }

  .cc-next-header,
  .cc-next-footer {
    display: block;
  }

  /* 首页：PC 走 index2 新版主体，隐藏旧版 main */
  .index-mobile-only {
    display: none !important;
  }
}

@media (max-width: 760px) {
  /* 首页：移动端走旧版 main，隐藏 index2 新版主体 */
  .index-pc-only {
    display: none !important;
  }
}

/* Legacy common content blocks */
.hero {
  padding: 72px 0 48px;
  background: var(--cc-hero-bg);
}

.hero-card {
  background: var(--cc-surface);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  padding: 32px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.25;
  color: var(--cc-brand-dark);
}

.hero-sub {
  margin: 0 0 20px;
  color: var(--cc-muted);
}

.features {
  padding: 24px 0 64px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  box-shadow: var(--cc-shadow);
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cc-shadow-hover);
}

.card-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #0b1324;
}

.card-text {
  margin: 0;
  color: var(--cc-muted);
}

/* Footer */
.cc-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(2, 6, 23, .06);
  background: #fff;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 24px 0;
}

.footer-desc {
  margin: 10px 0 0;
  color: #64748b;
  max-width: 320px;
}

#company-logo {
  display: block;
  width: auto !important;
  height: 32px !important;
  max-width: 180px;
  object-fit: contain;
  flex: none;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  justify-content: flex-end;
  flex: 1;
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0b1324;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 6px 0;
  color: #64748b;
}

.footer-bottom {
  border-top: 1px solid rgba(2, 6, 23, .06);
  padding: 12px 0;
  color: #94a3b8;
  font-size: 12px;
}

/* Mobile footer navigation */
.mobile-footer-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, .3);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
}

.mobile-footer-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 4px 8px;
  max-width: 640px;
  margin: 0 auto;
}

.mobile-footer-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 11px;
  padding: 4px 0;
  text-decoration: none;
}

.mobile-footer-item svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  stroke: #9ca3af;
}

.mobile-footer-item.active span {
  color: var(--cc-brand);
  font-weight: 600;
}

.mobile-footer-item.active svg {
  stroke: var(--cc-brand);
}

/* Floating toolbar */
.float-bar {
  position: fixed;
  right: 16px;
  top: 70%;
  transform: none;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(var(--cc-brand-rgb), .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(15, 95, 71, .14);
  backdrop-filter: saturate(150%) blur(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.float-entry {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(var(--cc-brand-rgb), .32);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.float-entry:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--cc-brand-strong), var(--cc-brand-dark));
  box-shadow: 0 12px 26px rgba(var(--cc-brand-rgb), .38);
}

.float-item {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #314740;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.float-item:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--cc-brand-rgb), .16);
  background: var(--cc-brand-bg);
  color: var(--cc-brand-dark);
}

.float-item svg,
.float-entry svg {
  width: 22px;
  height: 22px;
}

.float-item svg {
  stroke: currentColor;
}

.float-btn {
  border: 0;
  padding: 0;
  background: transparent;
}

#toggle-qr {
  background: transparent;
}

#toggle-qr:hover {
  background: var(--cc-brand-bg);
  transform: translateY(-1px);
}

.qr-pop {
  position: fixed;
  right: 80px;
  top: 70%;
  transform: none;
  z-index: 60;
  display: none;
}

.qr-pop.open {
  display: block;
}

.qr-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--cc-shadow);
  padding: 12px;
  width: 180px;
  text-align: center;
  border: 1px solid rgba(2, 6, 23, .06);
}

.qr-card .qr-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #0b1324;
}

.qr-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
}

.float-wrap {
  position: relative;
}

.float-tip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(2, 6, 23, .08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
  border-radius: 12px;
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.float-tip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
  filter: drop-shadow(-1px 0 1px rgba(2, 6, 23, .06));
}

.float-wrap:hover .float-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

body.on-hero .float-bar {
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
}

/* Theme component layer */
.is-hidden {
  display: none !important;
}

.is-disabled {
  opacity: .55;
  pointer-events: none;
}

.has-error {
  color: #dc2626;
}

.c-page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  background: var(--cc-surface);
  box-shadow: var(--cc-shadow);
  padding: 28px 32px;
}

.c-page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cc-brand), var(--cc-brand-strong));
  opacity: .85;
}

.c-page-hero__inner {
  position: relative;
  z-index: 1;
}

.c-page-hero__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  color: #0b1324;
}

.c-page-hero__desc {
  margin: 8px 0 0;
  color: var(--cc-muted);
}

.c-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.c-section-header {
  margin: 26px 0 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.c-section-header__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: #0b1324;
}

.c-section-header__desc {
  margin: 6px 0 0;
  color: var(--cc-muted);
  font-size: 13px;
}

.c-grid {
  display: grid;
  gap: 16px;
}

.c-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.c-card {
  position: relative;
  overflow: hidden;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  box-shadow: var(--cc-shadow);
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.c-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cc-shadow-hover);
}

.c-card--featured {
  border-color: rgba(var(--cc-brand-rgb), .32);
  box-shadow: 0 14px 32px rgba(var(--cc-brand-rgb), .13);
}

.c-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0b1324;
}

.c-card__text {
  margin: 0;
  color: var(--cc-muted);
  font-size: 13px;
}

.c-card__meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #94a3b8;
  font-size: 12px;
}

.c-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.c-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
}

.c-badge--success {
  background: linear-gradient(135deg, #22c55e, var(--cc-success));
}

.c-badge--purple {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
}

.c-loading,
.c-empty,
.c-error {
  border-radius: 16px;
  padding: 18px;
  font-size: 14px;
}

.c-loading {
  text-align: center;
  color: #64748b;
}

.c-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(var(--cc-brand-rgb), .28);
  background: var(--cc-surface);
  color: #64748b;
  text-align: center;
}

.c-empty__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #334155;
}

.c-empty__desc {
  color: #64748b;
  font-size: 14px;
}

.c-error {
  border: 1px solid rgba(220, 38, 38, .18);
  background: rgba(254, 242, 242, .85);
  color: #b91c1c;
}

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.c-modal.is-active,
.c-modal.active {
  opacity: 1;
  visibility: visible;
}

.c-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}

.c-modal__content {
  position: relative;
  width: min(90vw, 380px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .2);
  padding: 32px;
  text-align: center;
  transform: scale(.96) translateY(16px);
  transition: transform .25s ease;
}

.c-modal.is-active .c-modal__content,
.c-modal.active .c-modal__content {
  transform: scale(1) translateY(0);
}

.c-modal__title {
  margin: 0 0 10px;
  font-size: 22px;
  color: #0b1324;
}

.c-modal__desc {
  margin: 0 0 24px;
  color: var(--cc-muted);
  line-height: 1.6;
}

.c-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.c-filter-button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.c-filter-button.is-active {
  color: #fff;
}

.c-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.c-search-box__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
}

.c-search-box__icon {
  flex: 0 0 auto;
}

.c-product-card {
  position: relative;
  overflow: hidden;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  box-shadow: var(--cc-shadow);
  padding: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.c-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cc-shadow-hover);
}

.c-metric-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  background: linear-gradient(180deg, rgba(var(--cc-brand-rgb), .08), rgba(255, 255, 255, .92));
  box-shadow: var(--cc-shadow);
}

.c-metric-card__value {
  color: var(--cc-brand-dark);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
}

.c-metric-card__label {
  color: var(--cc-text);
  font-size: 14px;
  font-weight: 800;
}

.c-metric-card__desc {
  margin: 0;
  color: var(--cc-muted);
  font-size: 13px;
}

.c-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: process-step;
}

.c-process-step {
  position: relative;
  padding: 18px;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  background: var(--cc-surface);
  box-shadow: var(--cc-shadow);
  counter-increment: process-step;
}

.c-process-step::before {
  content: counter(process-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cc-brand), var(--cc-brand-strong));
  font-size: 12px;
  font-weight: 900;
}

.c-process-step__title {
  margin: 0 0 6px;
  color: var(--cc-text);
  font-size: 15px;
}

.c-process-step__desc {
  margin: 0;
  color: var(--cc-muted);
  font-size: 13px;
}

.c-faq {
  display: grid;
  gap: 10px;
}

.c-faq__item {
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-card-radius);
  background: var(--cc-surface);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}

.c-faq__question {
  margin: 0;
  padding: 16px 18px;
  color: var(--cc-text);
  font-size: 15px;
  font-weight: 800;
}

.c-faq__answer {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--cc-muted);
  font-size: 13px;
}

@media (max-width: 992px) {
  .cc-next-search,
  .cc-next-links {
    display: none;
  }

  .cc-next-actions {
    margin-left: auto;
  }

  .cc-next-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cc-next-footer-brand-col {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-grid--3 {
    grid-template-columns: 1fr;
  }

  .c-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cc-footer {
    display: none;
  }

  .mobile-footer-nav {
    display: block;
  }

  body.on-hero .mobile-footer-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .cc-next-header,
  .cc-next-footer {
    display: none;
  }
}

@media (max-width: 640px) {
  .cc-next-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cc-next-footer-brand-col,
  .cc-next-footer-contact-col {
    grid-column: 1 / -1;
  }

  .cc-next-copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cc-next-copyright-beian {
    flex: none;
    justify-content: flex-start;
    width: 100%;
    gap: 6px 14px;
  }

  .cc-next-copyright-beian a {
    white-space: normal;
  }

  .hero {
    padding-top: 56px;
  }

  .c-page-hero {
    padding: 20px;
  }

  .c-page-hero__title {
    font-size: 22px;
  }

  .c-grid--2 {
    grid-template-columns: 1fr;
  }

  .c-process-steps {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .float-bar {
    right: 8px;
    top: auto;
    bottom: 96px;
    transform: none;
    gap: 8px;
  }

  .float-entry {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(var(--cc-brand-rgb), .28);
  }

  .float-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .float-item svg,
  .float-entry svg {
    width: 20px;
    height: 20px;
  }

  .qr-pop {
    right: 72px;
    top: auto;
    bottom: 96px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 20px;
  }

  .hero-title {
    font-size: 22px;
  }

  .btn {
    padding: 8px 12px;
    border-radius: 8px;
  }

  .card {
    padding: 16px;
    border-radius: 12px;
  }

  .grid {
    gap: 12px;
  }
}
