/* ==========================================================================
   氿芯智能 JOUCORE 极简官网样式 (style.css)
   色彩体系提取自官方 LOGO：玫瑰粉 #f19cbf + 深曜炭 #231815 + 纯净留白
   ========================================================================== */

:root {
  --brand-pink: #f19cbf;
  --brand-pink-deep: #d96b98;
  --brand-pink-soft: rgba(241, 156, 191, 0.14);
  --brand-pink-glow: rgba(241, 156, 191, 0.24);
  --brand-ink: #231815;
  --text-secondary: #594e4b;
  --text-muted: #8a7e7b;
  --bg-page: #ffffff;
  --border-subtle: rgba(35, 24, 21, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--brand-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px 20px;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 50% 34%, var(--brand-pink-soft) 0%, rgba(241, 156, 191, 0.03) 36%, transparent 64%);
  overflow-x: hidden;
}

/* 屏幕阅读器专属隐藏文本（兼顾无障碍与搜索引擎语义） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 居中极简舞台 */
.brand-stage {
  flex: 1 0 auto;
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LOGO 展示区 */
.brand-logo-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.brand-logo {
  display: block;
  width: clamp(220px, 42vw, 310px);
  height: auto;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* Slogan：持续创新 品质品牌 */
.brand-slogan {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--brand-ink);
  line-height: 1.6;
}

.slogan-dot {
  color: var(--brand-pink-deep);
  font-weight: 600;
  margin: 0 0.15em;
}

/* 极简分隔线 */
.brand-divider {
  width: 44px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(241, 156, 191, 0.35), var(--brand-pink), rgba(241, 156, 191, 0.35));
  margin: 28px auto;
}

/* 联系我们 */
.brand-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
}

.contact-label {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(35, 24, 21, 0.04);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--brand-pink-deep);
  border-color: var(--brand-pink);
  background: rgba(241, 156, 191, 0.08);
  box-shadow: 0 6px 20px var(--brand-pink-glow);
  transform: translateY(-1px);
  outline: none;
}

/* 底部合规备案信息 */
.site-beian {
  flex-shrink: 0;
  width: 100%;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-beian a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-beian a:hover,
.site-beian a:focus-visible {
  color: var(--brand-ink);
  outline: none;
}

.site-beian .beian-mps-link {
  gap: 5px;
}

.site-beian .beian-mps-icon {
  width: 14px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* 移动端微调 */
@media (max-width: 640px) {
  body {
    padding: 32px 20px 18px;
  }

  .brand-logo-heading {
    margin-bottom: 24px;
  }

  .brand-slogan {
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .brand-divider {
    margin: 22px auto;
  }
}

/* 尊重系统减弱动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  .brand-card,
  .brand-logo,
  .contact-link {
    animation: none;
    transition: none;
  }
}
