/* Beepin 展示页样式：取值与 2025-08 旧版 Vue 站的 Tailwind 类一一对应，改这里即可 */

:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --hero-bg: linear-gradient(to right top, #051937, #002768, #293199, #6030c6, #a112eb);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--gray-50);
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  color: var(--gray-100);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* 顶部导航：滚动超过 50px 后加半透明底与模糊，未滚动时透明 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease-in-out;
}

header.scrolled {
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand img {
  height: 2.5rem;
  width: auto;
  border-radius: 0.375rem;
}

.brand span {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--gray-100);
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  padding: 0.5rem 1.25rem;
  color: var(--gray-200);
  font-weight: 500;
  transition: transform 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 8px;
  cursor: pointer;
}

main {
  padding-top: 5rem;
}

.hero h1 {
  display: flex;
  align-items: center;
  max-width: max-content;
  margin: 0;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--gray-100);
}

.hero .divider {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  height: 2rem;
  border-left: 1px solid var(--gray-100);
}

.hero .tagline {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--gray-200);
}

.shots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-bottom: 3rem;
}

.shot {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.shot-inner {
  position: relative;
  width: 14rem;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease-in-out;
}

.shot img:hover {
  transform: scale(1.05);
}

/* 关于我们 */
.about-head {
  max-width: 56rem;
  margin: 0 auto 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.about-head h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--gray-100);
}

.about-body {
  max-width: 56rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 3rem;
  color: var(--gray-200);
  font-size: 1.25rem;
  line-height: 2rem;
}

.about-body p {
  margin: 0 0 1.25rem;
}

.copyright {
  margin-top: 2rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-500);
}

/* 页脚：备案信息与协议入口 */
footer {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.75rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer .icp {
  color: var(--gray-200);
}

/* 36px 时标题内容需要 358px，窄屏放不下会让文字在行内折成两行，故降到 30px 保持单行 */
@media (max-width: 405px) {
  .hero h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .shots {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
