/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础样式 */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #4B5054;
  color: #9ca3af;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 页头样式 */
.page-header {
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-logo:hover {
  color: #fbca1f;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s, color 0.2s;
}

.header-nav a:hover {
  color: #fbca1f;
  background-color: rgba(255, 255, 255, 0.1);
}

/* 页脚样式 */
.page-footer {
  background-color: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #fbca1f;
}

.footer-nav .nav-separator {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copyright p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.25rem 0;
}

/* 主容器样式 */
main {
  flex: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

@media (min-width: 640px) {
  main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  main {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}

/* 文本居中容器 */
.text-center {
  text-align: center;
}

/* 标题样式 */
h2 {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: white;
  position: relative;
}

@media (min-width: 640px) {
  h2 {
    font-size: 3.75rem;
  }
}

/* 标题描边效果 */
h2::before {
  content: attr(data-stroke);
  position: absolute;
  color: white;
  -webkit-text-stroke: 6px #000000;
  text-stroke: 6px #000000;
  z-index: -1;
}

/* 副标题样式 */
.subtitle {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .subtitle {
    font-size: 1rem;
    line-height: 2rem;
  }
}

/* 按钮容器 */
.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

/* 客服按钮样式 */
#customerServiceBtn {
  cursor: pointer;
  background-color: #fbca1f;
  padding: 0.625rem 1.25rem;
  border: 3px solid black;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  #customerServiceBtn {
    margin-top: 3.5rem;
  }
}

#customerServiceBtn.hidden {
  display: none;
}

#customerServiceBtn div {
  color: black;
  font-weight: 900;
  font-size: 1.125rem;
}

/* 点击复制样式 */
.click-to-copy {
  cursor: pointer;
  color: #fbbf24;
  text-decoration: underline;
}

.click-to-copy:hover {
  color: #f59e0b;
}

.text-amber-400 {
  color: #fbbf24;
}

/* 复制提示样式 */
.ctc-tip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.75rem;
  border-radius: 0.75rem;
  z-index: 1000;
}

/* 响应式设计 */
@media (max-width: 639px) {
  h2 {
    font-size: 1.5rem;
  }
  
  .subtitle {
    font-size: 0.875rem;
  }
  
  #customerServiceBtn {
    margin-top: 1.75rem;
  }
}