/* 域名电话 · 对外官网骨架（参考注册商式布局，独立样式） */
:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1a1d21;
  --muted: #5b6570;
  --border: #e2e6ea;
  --brand: #0d7a6e;
  --brand-hover: #0a6359;
  --accent: #e85d04;
  --header-h: 64px;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --maxw: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Promo bar */
.site-promo {
  background: linear-gradient(90deg, #0d6b62 0%, #0d7a6e 50%, #0a8f7f 100%);
  color: #fff;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.4rem 1rem;
}
.site-promo a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover {
  text-decoration: none;
  color: var(--brand);
}
.site-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #12a090);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 0.25rem 0 0.75rem;
    gap: 0;
    box-shadow: var(--shadow);
    align-items: stretch;
  }
  .site-nav.is-open .nav-item {
    border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open .nav-item:last-child {
    border-bottom: 0;
  }
  .site-nav.is-open .nav-item__link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    border-radius: 0;
  }
  .site-nav.is-open .nav-item__trigger {
    display: flex;
    width: 100%;
    padding: 0.75rem 1.25rem;
    justify-content: space-between;
    align-items: center;
  }
  .site-nav.is-open .nav-dropdown {
    display: none;
    position: static;
    margin: 0;
    padding: 0 0 0.5rem 1.25rem;
    border: 0;
    box-shadow: none;
    background: var(--bg);
  }
  .site-nav.is-open .nav-item--dropdown.is-expanded .nav-dropdown {
    display: flex;
    flex-direction: column;
  }
  .site-nav.is-open .nav-dropdown a {
    padding: 0.55rem 0.75rem 0.55rem 0.5rem;
    border-bottom: 0;
    font-size: 0.9rem;
    color: var(--muted);
  }
}

.nav-item__link {
  padding: 0.5rem 0.85rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 6px;
  text-decoration: none;
}
.nav-item__link:hover {
  background: var(--bg);
  text-decoration: none;
}

.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.85rem;
  margin: 0;
  font: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-item__trigger:hover {
  background: var(--bg);
}
.nav-item__trigger--emphasis {
  font-weight: 800;
  color: var(--brand);
}
.nav-item__trigger:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-item__chevron {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.15rem;
  opacity: 0.75;
  transition: transform 0.2s ease, margin 0.2s ease;
  flex-shrink: 0;
}

@media (hover: hover) and (min-width: 901px) {
  .nav-item--dropdown:hover .nav-item__chevron,
  .nav-item--dropdown:focus-within .nav-item__chevron {
    transform: rotate(-135deg);
    margin-bottom: -0.05rem;
  }
}

@media (max-width: 900px) {
  .nav-item--dropdown.is-expanded .nav-item__chevron {
    transform: rotate(-135deg);
    margin-bottom: -0.05rem;
  }
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  padding: 0.4rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 200;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--bg);
  text-decoration: none;
  color: var(--brand);
}

@media (hover: hover) and (min-width: 901px) {
  .nav-item--dropdown:hover .nav-dropdown,
  .nav-item--dropdown:focus-within .nav-dropdown {
    display: block;
  }
}

/* English header: compact nav spacing (7 items incl. Group Tel) */
@media (min-width: 901px) {
  .site-header__actions {
    flex-shrink: 0;
  }
  .site-header__actions .btn--primary {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .site-nav {
    gap: 0.05rem;
  }
  .nav-item__link,
  .nav-item__trigger {
    padding: 0.45rem 0.5rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  html[data-site-locale="en"] .site-nav,
  html:lang(en) .site-nav {
    gap: 0.05rem;
  }
  html[data-site-locale="en"] .nav-item__link,
  html[data-site-locale="en"] .nav-item__trigger,
  html:lang(en) .nav-item__link,
  html:lang(en) .nav-item__trigger {
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
  }
  html[data-site-locale="en"] .site-header__actions .btn--primary,
  html:lang(en) .site-header__actions .btn--primary {
    padding: 0.5rem 0.7rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .site-logo > span:not(.site-logo__mark) {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  html[data-site-locale="en"] .site-logo > span:not(.site-logo__mark),
  html:lang(en) .site-logo > span:not(.site-logo__mark) {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }
  .site-header__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.5rem;
  }
  .site-logo {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 1.05rem;
  }
  .site-header__actions {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: auto;
    gap: 0.35rem;
  }
  /* English logo text is too long for mobile header row */
  html[data-site-locale="en"] .site-logo > span:not(.site-logo__mark),
  html:lang(en) .site-logo > span:not(.site-logo__mark) {
    display: none;
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.lang-switch__btn {
  margin: 0;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.lang-switch__btn.is-active {
  color: #fff;
  background: var(--brand);
}
.lang-switch__btn:hover:not(.is-active) {
  color: var(--text);
  background: var(--card);
}
@media (max-width: 520px) {
  .site-header__actions .btn--primary {
    display: none;
  }
  .site-header__actions .header-account {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-hover);
  color: #fff;
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: #d14f04;
  color: #fff;
}

.site-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.site-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}
@media (max-width: 900px) {
  .site-menu-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 2.5rem 1.25rem 3rem;
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 首页轮播 */
.hero-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto 1.75rem;
}

.hero-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.hero-carousel__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.hero-carousel__slide {
  margin: 0;
  flex: 0 0 100%;
  min-width: 100%;
  line-height: 0;
}

.hero-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: contain;
  background: #0f172a;
  aspect-ratio: 1 / 1;
  max-height: min(56vh, 520px);
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.hero-carousel__arrow:hover {
  background: #fff;
}
.hero-carousel__arrow--prev {
  left: 10px;
}
.hero-carousel__arrow--next {
  right: 10px;
}

@media (max-width: 600px) {
  .hero-carousel__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .hero-carousel__arrow--prev {
    left: 6px;
  }
  .hero-carousel__arrow--next {
    right: 6px;
  }
  .hero-carousel__slide img {
    max-height: min(42vh, 380px);
  }
}

.hero-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hero-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c5ccd3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.2s;
}
.hero-carousel__dot[aria-selected="true"] {
  background: var(--brand);
  transform: scale(1.15);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 auto 1rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--brand);
}

.hero-points {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-points li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(13, 122, 110, 0.1);
  border: 1px solid rgba(13, 122, 110, 0.25);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
}

.hero__sub {
  margin: 0 auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* 原版首页：特色卡片 / 服务入口 */
.header-lang-link {
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.header-lang-link:hover {
  text-decoration: underline;
}

.header-account {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0d7a6e);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.header-account:hover {
  text-decoration: none;
  opacity: 0.92;
}
.header-account svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-grid > .feature-card {
  grid-column: span 4;
  min-width: 0;
}

/* 末行仅 1 个：居中（如 4 张卡） */
.feature-grid > .feature-card:last-child:nth-child(3n+1):not(:only-child) {
  grid-column: 5 / span 4;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid > .feature-card {
    grid-column: span 2;
  }

  .feature-grid > .feature-card:last-child:nth-child(3n+1):not(:only-child) {
    grid-column: span 2;
  }

  /* 末行仅 1 个（2 列布局） */
  .feature-grid > .feature-card:last-child:nth-child(2n+1):not(:only-child) {
    grid-column: 2 / span 2;
  }
}

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

  .feature-grid > .feature-card,
  .feature-grid > .feature-card:last-child:nth-child(3n+1):not(:only-child),
  .feature-grid > .feature-card:last-child:nth-child(2n+1):not(:only-child) {
    grid-column: 1;
  }
}

.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.feature-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}
.feature-card__icon--brand { background: var(--brand); font-size: 0.62rem; letter-spacing: -0.02em; }
.feature-card__icon--blue { background: #2563eb; }
.feature-card__icon--orange { background: #ea580c; }
.feature-card__icon--purple { background: #7c3aed; }
.feature-card__icon--login { background: var(--brand); }
.feature-card__icon--trial { background: #f97316; }
.feature-card__icon--bind { background: #2563eb; }
.feature-card__icon--faq { background: #64748b; }
.feature-card__icon--id { background: #0a6359; font-size: 0.72rem; letter-spacing: 0.02em; }

.feature-card__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.feature-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-callout {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-callout p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.about-callout p:last-of-type {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 600;
}
.about-callout__link {
  font-weight: 700;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.service-card__top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
}
.service-card > .btn {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 3.25rem;
  padding: 0.45rem 0.75rem;
  line-height: 1.35;
  text-align: center;
}
.service-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.service-card__links a {
  font-weight: 600;
  font-size: 0.92rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-list li:last-child {
  border-bottom: 0;
}
.faq-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.faq-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 520px) {
  .site-header__actions .btn--primary {
    display: none;
  }
  .site-header__actions .header-account {
    display: inline-flex;
  }
}

.section {
  padding: 2.5rem 1.25rem;
}

.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.section__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42rem;
}

/* 00cctel G20 首页介绍模块 */
.section--tel-g20 {
  background: linear-gradient(135deg, rgba(13, 122, 110, 0.07) 0%, #fff 42%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tel-g20__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.tel-g20__badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.tel-g20__lang-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}
.lang-switch--inline {
  background: var(--card);
}
.tel-g20__panel {
  margin-top: 1.25rem;
  padding: 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tel-g20__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.tel-g20__examples {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tel-g20__examples li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.tel-g20__examples li:last-child {
  border-bottom: 0;
}
.tel-g20__examples code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}
@media (min-width: 640px) {
  .tel-g20__examples li {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
}
.tel-g20__term-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.tel-g20__diagram {
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tel-g20__diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.tel-g20__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.tel-g20__disclaimer {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-cards > .service-card {
  grid-column: span 4;
  min-width: 0;
}

/* 末行 2 个：居中（如 5 张卡） */
.grid-cards > .service-card:nth-last-child(2):nth-child(3n+1) {
  grid-column: 3 / span 4;
}

.grid-cards > .service-card:last-child:nth-child(3n+2) {
  grid-column: 7 / span 4;
}

/* 末行 1 个：居中 */
.grid-cards > .service-card:last-child:nth-child(3n+1):not(:only-child) {
  grid-column: 5 / span 4;
}

@media (max-width: 900px) {
  .grid-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-cards > .service-card {
    grid-column: span 2;
  }

  .grid-cards > .service-card:nth-last-child(2):nth-child(3n+1),
  .grid-cards > .service-card:last-child:nth-child(3n+2),
  .grid-cards > .service-card:last-child:nth-child(3n+1):not(:only-child) {
    grid-column: span 2;
  }

  .grid-cards > .service-card:last-child:nth-child(2n+1):not(:only-child) {
    grid-column: 2 / span 2;
  }
}

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

  .grid-cards > .service-card,
  .grid-cards > .service-card:nth-last-child(2):nth-child(3n+1),
  .grid-cards > .service-card:last-child:nth-child(3n+2),
  .grid-cards > .service-card:last-child:nth-child(3n+1):not(:only-child),
  .grid-cards > .service-card:last-child:nth-child(2n+1):not(:only-child) {
    grid-column: 1;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.card .btn {
  width: 100%;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* 绑定教程（CNAME + 手机号） */
.section--guide .guide-subtitle {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}
.section--guide .guide-subtitle:first-of-type {
  margin-top: 0;
}
.guide-example {
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--brand);
  background: linear-gradient(135deg, rgba(13, 122, 110, 0.07) 0%, var(--card) 48%);
}
.guide-example .guide-subtitle {
  margin-top: 0;
}
.guide-example .guide-ol {
  margin-bottom: 0;
}
.section--guide .guide-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 52rem;
}
.guide-flowchart .guide-subtitle {
  margin-top: 0;
}
.guide-flowchart .guide-note {
  margin-bottom: 1rem;
}
.mermaid-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.mermaid-wrap .mermaid {
  margin: 0;
  font-size: 14px;
}
.guide-block {
  margin-bottom: 1.75rem;
}
.guide-step-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
}
.guide-ol,
.guide-ul {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
  color: var(--text);
  font-size: 0.94rem;
}
.guide-ol li,
.guide-ul li {
  margin-bottom: 0.4rem;
}
.guide-ol--continue {
  margin-top: 0.5rem;
}
.guide-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}
.guide-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.guide-table th,
.guide-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.guide-table th {
  background: rgba(13, 122, 110, 0.08);
  font-weight: 700;
  white-space: nowrap;
}
.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td {
  border-bottom: none;
}
.guide-table code {
  font-size: 0.85em;
  background: var(--card);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.guide-faq {
  margin-top: 2rem;
}
.guide-faq-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.guide-faq-list li {
  margin-bottom: 0.85rem;
}
.guide-faq-list strong {
  color: var(--text);
}

/* 内容页：关于我们 / 服务支持 */
.page-content {
  background: var(--bg);
}

.page-content .content-main {
  padding-bottom: 0;
}

.page-content .content-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #064e47 0%, #0d7a6e 42%, #12a090 100%);
  color: #fff;
  padding: 2.75rem 1.25rem 3.25rem;
}

.page-content .content-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-content .content-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-content .content-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.page-content .content-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-content .content-hero__intro {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.page-content .content-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
  max-width: 36rem;
}

.page-content .content-stat {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.page-content .content-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-content .content-stat__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.page-content .content-body {
  max-width: var(--maxw);
  margin: -1.75rem auto 0;
  padding: 0 1.25rem 3rem;
  position: relative;
  z-index: 2;
}

.page-content .content-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-content .content-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow);
}

.page-content .content-section h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.page-content .content-section p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.page-content .content-section p:last-child {
  margin-bottom: 0;
}

.page-content .content-section ol,
.page-content .content-section ul {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.page-content .content-section li {
  margin-bottom: 0.55rem;
}

.page-content .content-section li:last-child {
  margin-bottom: 0;
}

.page-content .content-section strong {
  color: var(--text);
}

.page-content .content-section__closing {
  margin-top: 1rem !important;
  padding: 1rem 1.15rem;
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--brand) !important;
  background: rgba(13, 122, 110, 0.08);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-content .support-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-content .support-topic {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.page-content .support-topic:hover {
  border-color: rgba(13, 122, 110, 0.35);
  box-shadow: 0 4px 16px rgba(13, 122, 110, 0.08);
}

.page-content .support-topic__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.page-content .support-topic__icon--pay { background: #2563eb; }
.page-content .support-topic__icon--phone { background: #0d7a6e; }
.page-content .support-topic__icon--dns { background: #7c3aed; }
.page-content .support-topic__icon--mobile { background: #ea580c; }

.page-content .support-topic__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.page-content .support-topic__body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.page-content .support-topic__body li {
  margin-bottom: 0.35rem;
}

.page-content .support-contact {
  margin: 1.25rem 0;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(13, 122, 110, 0.1) 0%, rgba(13, 122, 110, 0.04) 100%);
  border: 1px solid rgba(13, 122, 110, 0.25);
  border-radius: var(--radius);
  text-align: center;
}

.page-content .support-contact__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.page-content .support-contact a {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.page-content .support-contact a:hover {
  text-decoration: underline;
}

.page-content .support-hint {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

.page-content .content-section--wide .support-topics {
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .page-content .content-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .page-content .support-topics {
    grid-template-columns: 1fr;
  }

  .page-content .content-section {
    padding: 1.25rem 1.15rem;
  }
}

/* Footer */
.site-footer {
  background: #1e2328;
  color: #a8b0b8;
  padding: 2rem 1.25rem 1.75rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.site-footer a {
  color: #c5ccd4;
}
.site-footer a:hover {
  color: #fff;
}

/* 品牌栏：显式下划线（页脚默认 a 继承全局无装饰） */
.site-footer .footer-link--underline {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer .footer-link--underline:hover {
  text-decoration: underline;
  color: #fff;
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brands a {
  color: #c5ccd4;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.footer-brands a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #333a42;
  text-align: center;
}

.footer-bottom__company {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.footer-bottom__copy {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #8b949e;
}

.footer-bottom__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #333a42;
}
.footer-nav a {
  color: #c5ccd4;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-meta__note a {
  margin: 0 0.5rem;
  color: #8b949e;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-meta__note a:hover {
  color: #fff;
}

.footer-legal a {
  color: #8b949e;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
}
.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer--compact {
  padding: 2rem 1.25rem 1.75rem;
}

@media (max-width: 640px) {
  .footer-brands {
    flex-direction: column;
    gap: 0.65rem;
  }
  .footer-legal {
    flex-direction: column;
    gap: 0.65rem;
  }
}
