:root {
  --ink: #1b2232;
  --muted: #5f6675;
  --line: #edf0f5;
  --orange: #ff7f2f;
  --orange-dark: #f45b20;
  --orange-soft: #fff0e6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(98, 42, 10, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(22px, 5vw, 88px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe0f2, #fff);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(238, 86, 145, 0.2);
}

.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: #24304a;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--orange-dark);
}

.header-cta,
.primary-button,
.disabled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
}

.header-cta,
.primary-button {
  margin-left: 28px;
  color: #fff;
  background: var(--orange-dark);
  box-shadow: 0 14px 26px rgba(244, 91, 32, 0.24);
}

.disabled-button {
  color: #a55323;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 84px);
  padding: clamp(36px, 5vw, 64px) clamp(22px, 6vw, 96px);
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(90deg, #ff8b32 0%, #ff8b32 48%, #ff7d2a 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(560px, 1.06fr) minmax(410px, 0.94fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: center;
  max-width: 1360px;
  min-height: calc(100vh - 170px);
  margin: 0 auto;
}

.hero-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 650px;
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: min(330px, 42vw);
  aspect-ratio: 9 / 19.4;
  padding: 12px;
  overflow: hidden;
  background: #151923;
  border: 9px solid #22170d;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}

.promo-model {
  position: absolute;
  left: min(232px, 34vw);
  bottom: -8px;
  z-index: 4;
  width: min(330px, 32vw);
  max-height: 650px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 42px rgba(95, 35, 6, 0.26));
}

.hero-copy {
  color: #fff;
}

.mobile-hero-button {
  display: none;
}

.brand-line {
  margin: 0 0 28px;
  color: #08469a;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(151, 64, 18, 0.2);
}

.slogan {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 0;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.4;
}

.slogan span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.slogan span:not(:last-child)::after {
  content: "|";
  margin: 0 clamp(12px, 1.45vw, 24px);
  color: rgba(255, 255, 255, 0.86);
}

.slogan span:last-child {
  display: none;
}

.slogan span:nth-last-child(2)::after {
  content: "";
  margin: 0;
}

.intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .primary-button {
  margin-left: 0;
  color: var(--orange-dark);
  background: #fff;
}

.notice {
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.feature-band,
.trust-section,
.experience-section {
  padding: clamp(54px, 7vw, 88px) clamp(22px, 6vw, 96px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-card {
  min-height: 190px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(28, 38, 62, 0.07);
}

.feature-card span {
  color: var(--orange-dark);
  font-weight: 900;
}

.feature-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
}

.feature-card p,
.trust-copy p,
.faq-list p {
  color: var(--muted);
  line-height: 1.8;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: center;
  background: var(--orange-soft);
}

.trust-copy {
  max-width: 620px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-list span {
  min-height: 74px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(244, 91, 32, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.experience-section {
  text-align: center;
  background: #fff;
}

.experience-section .section-heading p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.experience-button {
  margin-left: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 96px);
  color: #fff;
  background: #202433;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-footer a,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

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

@media (max-width: 980px) {
  .site-header {
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .hero-device {
    justify-content: center;
    min-height: 560px;
  }

  .phone-frame {
    width: min(320px, 76vw);
    transform: none;
  }

  .promo-model {
    display: none;
  }

  .hero-copy {
    order: -1;
  }

  .brand-line {
    text-align: left;
  }

  .feature-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .slogan span:last-child {
    display: none;
  }

  .slogan span:nth-last-child(2)::after {
    content: "";
    margin: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    min-height: 104px;
    width: 100%;
    padding: 18px 18px 0;
    color: #fff;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .brand {
    display: grid;
    grid-template-columns: 62px auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    color: #fff;
    font-size: 26px;
    line-height: 1.05;
    text-shadow: 0 4px 14px rgba(150, 67, 20, 0.22);
  }

  .brand::after {
    content: "靠谱的高级交友 APP";
    grid-column: 2;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
  }

  .brand-mark {
    grid-row: 1 / span 2;
    width: 62px;
    height: 62px;
    background:
      radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.34), transparent 28%),
      linear-gradient(145deg, #ff8f1f 0%, #ff5d12 48%, #ff2f6d 100%);
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 17px;
    box-shadow:
      0 16px 32px rgba(174, 54, 11, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }

  .brand-mark img {
    width: 46px;
    height: 46px;
    filter: saturate(1.45) brightness(1.12) drop-shadow(0 3px 6px rgba(122, 25, 75, 0.24));
  }

  .menu-button {
    width: 46px;
    height: 46px;
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: 0;
  }

  .menu-button span {
    background: #fff;
  }

  .hero {
    position: relative;
    height: 100svh;
    min-height: 760px;
    padding: 112px 18px 122px;
    overflow: hidden;
    background:
      linear-gradient(rgba(255, 133, 58, 0.88), rgba(255, 133, 58, 0.64)),
      url("./assets/landing-model-yinli-true-transparent.png") center 18% / 128% auto no-repeat,
      linear-gradient(180deg, #ff8633 0%, #ff8d47 60%, #fff3e7 100%);
  }

  .hero-inner {
    display: block;
    min-height: auto;
  }

  .hero-copy {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  .intro {
    font-size: 16px;
  }

  .hero-device {
    height: calc(100svh - 248px);
    min-height: 486px;
    align-items: center;
    justify-content: center;
  }

  .phone-frame {
    width: min(270px, 72vw);
    border-width: 7px;
    border-radius: 36px;
    box-shadow: 0 22px 46px rgba(98, 42, 10, 0.28);
  }

  .mobile-hero-button {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    color: #fff;
    background: #ff5f14;
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(172, 78, 24, 0.28);
    font-size: 25px;
    font-weight: 900;
  }

  .mobile-hero-button::after {
    content: "免安装";
    position: absolute;
    right: -2px;
    top: -14px;
    padding: 6px 13px;
    color: #ff5f14;
    background: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
  }

  .site-footer {
    flex-direction: column;
  }
}
