/* 嗨狸 heylit 品牌官网：颜色取自 logo（奶油底 #fdf6ec 与 logo 底色一致） */
:root {
  --cream: #fdf6ec;
  --card: #fffaf3;
  --brown: #5c2610;
  --brown-soft: #7a4a32;
  --orange: #f08a24;
  --orange-deep: #b8500a;
  --orange-deeper: #9a4207;
  --yellow: #f7b21b;
  --coral: #f2624c;
  --line: #f0e2cf;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--orange-deep);
}

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

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a:not(.btn) {
  color: var(--brown);
  font-weight: 600;
  text-decoration: none;
}

.nav__links a:not(.btn):hover {
  color: var(--orange-deep);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid var(--orange-deep);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--orange-deep);
  color: #fff;
  box-shadow: 0 8px 20px rgb(184 80 10 / 25%);
}

.btn--primary:hover {
  background-color: var(--orange-deeper);
}

.btn--ghost {
  background-color: var(--cream);
  color: var(--orange-deep);
}

.btn--small {
  min-width: 0;
  padding: 8px 22px;
  font-size: 16px;
}

.arrow {
  margin-left: 0.4em;
}

/* 首屏 */
.hero {
  position: relative;
  padding: 40px 0 56px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(600px, 92vw);
}

.hero__title {
  margin: 8px 0 4px;
  font-size: clamp(26px, 5vw, 56px);
  text-wrap: balance;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.hero__subtitle {
  margin: 0 0 32px;
  color: var(--brown-soft);
  font-size: clamp(17px, 2.2vw, 24px);
  letter-spacing: 0.12em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sparkle {
  position: absolute;
  width: 34px;
  height: 34px;
  fill: var(--yellow);
}

.sparkle--a {
  top: 180px;
  left: 18%;
}

.sparkle--b {
  top: 90px;
  right: 20%;
  width: 40px;
  height: 40px;
}

.sparkle--c {
  top: 430px;
  right: 14%;
  width: 26px;
  height: 26px;
}

.sparkle--d {
  top: 470px;
  left: 12%;
  width: 22px;
  height: 22px;
}

/* 场景卡片 */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgb(92 38 16 / 6%);
}

.card__icon {
  flex: none;
  width: 72px;
  height: 72px;
}

.card__body {
  flex: 1;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.card p {
  margin: 2px 0 10px;
  color: var(--brown-soft);
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  padding: 2px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.tag--live {
  background-color: #fde2db;
  color: var(--brown);
}

.tag--soon {
  background-color: #f3e9dc;
  color: var(--brown-soft);
}

.card__link {
  font-weight: 700;
  text-decoration: none;
}

/* 文字区块 */
.section {
  max-width: 820px;
  margin-bottom: 56px;
  text-align: center;
  scroll-margin-top: 96px;
}

.section__title {
  margin: 0 0 12px;
  font-size: 28px;
}

.section p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 17px;
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  font-size: 15px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 手机 */
@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav__inner {
    height: 64px;
  }

  .nav__logo img {
    width: 104px;
  }

  .nav__links {
    gap: 16px;
  }

  .nav__links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 24px 0 40px;
  }

  .sparkle--c,
  .sparkle--d {
    display: none;
  }

  .hero__subtitle {
    letter-spacing: 0.06em;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .card {
    padding: 20px;
  }

  .card__icon {
    width: 56px;
    height: 56px;
  }

  .card__body {
    padding-left: 18px;
  }

  .card h2 {
    font-size: 20px;
  }

  .footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
  }
}
