:root {
  --ink: #2f1908;
  --muted: #6d5a4b;
  --orange: #ff8a00;
  --gold: #ffc400;
  --cream: #fff6e8;
  --line: rgba(255, 171, 51, 0.18);
  --shadow: 0 18px 48px rgba(151, 98, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fff8ed;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding: 0 clamp(22px, 7vw, 96px);
  background: rgba(255, 249, 239, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 4px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(127, 82, 13, 0.1);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 76px);
  font-size: 16px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 30px 0 24px;
}

.nav-links a::after {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 46px;
  height: 2px;
  content: "";
  background: var(--orange);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a.active {
  color: #ff6c00;
}

.nav-links a.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.hero {
  position: relative;
  min-height: 850px;
  padding-top: 164px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 206, 116, 0.24), rgba(255, 206, 116, 0) 24%),
    linear-gradient(180deg, #fff8ef 0%, #fff4e5 72%, #fffaf4 100%);
  scroll-snap-align: start;
}

.hero::before {
  position: absolute;
  z-index: 1;
  right: -6vw;
  bottom: -78px;
  width: min(620px, 48vw);
  height: 310px;
  content: "";
  background: #fff;
  border-radius: 48% 52% 0 0 / 76% 76% 0 0;
  box-shadow:
    -120px 30px 0 18px rgba(255, 255, 255, 0.94),
    -250px 85px 0 34px rgba(255, 255, 255, 0.86),
    120px 90px 0 26px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: 1;
  left: -8vw;
  bottom: -112px;
  width: min(560px, 46vw);
  height: 250px;
  content: "";
  background: #fff;
  border-radius: 52% 48% 0 0 / 74% 74% 0 0;
  box-shadow:
    122px 18px 0 28px rgba(255, 255, 255, 0.92),
    282px 74px 0 40px rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.cloud {
  position: absolute;
  z-index: 1;
  bottom: -88px;
  display: block;
  pointer-events: none;
}

.cloud-a {
  left: 38%;
  width: 260px;
  height: 170px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 52% 48% 0 0 / 72% 72% 0 0;
}

.cloud-b {
  right: 17%;
  width: 210px;
  height: 145px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
  max-width: 1240px;
  min-height: 650px;
  margin: 0 auto;
  padding: 8px clamp(22px, 6vw, 72px) 20px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 70px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: #ff8500;
}

.title-squiggle {
  display: block;
  width: min(410px, 72vw);
  height: 34px;
  margin: 4px 0 22px -4px;
  object-fit: fill;
}

.hero-copy p {
  margin: 0;
  color: #4b3828;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 52px;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 190px;
  height: 64px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 16px 34px rgba(255, 143, 0, 0.22);
}

.download.primary {
  color: #fff;
  background: linear-gradient(180deg, #ffbc2e, #ff8900);
}

.download.secondary {
  color: #31200f;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(160, 110, 45, 0.12);
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 36px;
  padding: 12px 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: rgba(47, 25, 8, 0.88);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(47, 25, 8, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.platform-icon {
  font-size: 16px;
  font-weight: 900;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: min(520px, 43vw);
  min-width: 400px;
  height: auto;
  image-rendering: auto;
  filter: drop-shadow(0 20px 24px rgba(107, 76, 30, 0.16));
}

.features,
.about-section {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
  min-height: 100svh;
  padding: 104px clamp(28px, 7vw, 116px) 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 196, 0, 0.16), rgba(255, 196, 0, 0) 22%),
    radial-gradient(circle at 86% 32%, rgba(255, 138, 0, 0.13), rgba(255, 138, 0, 0) 25%),
    linear-gradient(180deg, #fffaf4 0%, #fff4e5 100%);
  scroll-snap-align: start;
  scroll-margin-top: 0;
}

.features::before,
.features::after,
.about-section::before,
.about-section::after {
  position: absolute;
  z-index: 1;
  bottom: -92px;
  content: "";
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.features::before,
.about-section::before {
  left: -8vw;
  width: min(560px, 44vw);
  height: 260px;
  border-radius: 52% 48% 0 0 / 74% 74% 0 0;
  box-shadow:
    150px 32px 0 18px rgba(255, 255, 255, 0.88),
    300px 82px 0 34px rgba(255, 255, 255, 0.7);
}

.features::after,
.about-section::after {
  right: -7vw;
  width: min(620px, 48vw);
  height: 300px;
  border-radius: 48% 52% 0 0 / 76% 76% 0 0;
  box-shadow:
    -140px 40px 0 24px rgba(255, 255, 255, 0.86),
    -280px 100px 0 38px rgba(255, 255, 255, 0.66);
}

.about-section {
  min-height: calc(100svh - 58px);
  padding-top: 92px;
  padding-bottom: 28px;
  background:
    radial-gradient(circle at 20% 34%, rgba(255, 138, 0, 0.12), rgba(255, 138, 0, 0) 24%),
    radial-gradient(circle at 88% 26%, rgba(255, 196, 0, 0.18), rgba(255, 196, 0, 0) 24%),
    linear-gradient(180deg, #fff4e5 0%, #fff9f1 100%);
}

.section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  margin: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 950;
}

.section-heading img {
  width: min(330px, 34vw);
  height: 30px;
  margin-top: 8px;
  object-fit: fill;
}

.feature-grid,
.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 34px);
  width: 100%;
  max-width: 720px;
  margin: 0;
}

.feature-card,
.about-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 222px;
  padding: 24px 24px 26px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(151, 98, 23, 0.12);
}

.about-kicker {
  display: block;
  margin-bottom: 12px;
  color: #ff8500;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.about-card p {
  margin: 0;
  color: #554335;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

.feature-card img {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 0 12px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: #554335;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 600;
}

.footer {
  background: #262626;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1.5fr 1.4fr;
  gap: 34px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px clamp(20px, 5vw, 40px) 24px;
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  color: #49392e;
  font-size: 14px;
  line-height: 1.45;
}

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

.qr-code {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  padding: 6px;
  flex: 0 0 auto;
  background:
    linear-gradient(90deg, #111 50%, transparent 0) 0 0 / 12px 12px,
    linear-gradient(#111 50%, transparent 0) 0 0 / 12px 12px,
    #fff;
  border: 5px solid #fff;
  box-shadow: 0 4px 14px rgba(55, 30, 0, 0.12);
}

.qr-code span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 5px solid #111;
  background: #fff;
}

.qr-code span:nth-child(1) {
  top: 5px;
  left: 5px;
}

.qr-code span:nth-child(2) {
  top: 5px;
  right: 5px;
}

.qr-code span:nth-child(3) {
  bottom: 5px;
  left: 5px;
}

.footer-bar {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  background: #262626;
}

@media (max-width: 920px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    height: auto;
    min-height: 74px;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    padding: 3px;
    border-radius: 14px;
  }

  .brand-mark img {
    border-radius: 11px;
  }

  .nav-links {
    gap: 16px;
    overflow-x: auto;
    max-width: calc(100vw - 150px);
    padding-bottom: 4px;
    font-size: 14px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 18px 0 15px;
  }

  .nav-links a::after {
    bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero::before {
    right: -26vw;
    width: 92vw;
    height: 220px;
  }

  .hero::after {
    left: -28vw;
    width: 90vw;
    height: 190px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
    text-align: center;
  }

  .hero-copy {
    padding-top: 0;
  }

  .title-squiggle {
    margin-right: auto;
    margin-left: auto;
  }

  .download-actions {
    justify-content: center;
    margin-top: 34px;
  }

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

  .hero-phone img {
    width: min(500px, 88vw);
    min-width: 0;
  }

  .features,
  .about-section {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 110px 28px 70px;
  }

  .section-heading {
    align-items: center;
    text-align: center;
  }

  .section-heading img {
    width: 210px;
  }

  .feature-grid,
  .about-grid {
    max-width: 680px;
    margin: 0 auto;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bar {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: fixed;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    transform: translateZ(0);
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 20px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    padding: 3px;
    border-radius: 13px;
  }

  .brand-mark img {
    border-radius: 10px;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    width: auto;
    max-width: none;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 15px;
  }

  .nav-links a {
    padding: 12px 0 10px;
  }

  .nav-links a::after {
    bottom: 2px;
    width: 30px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-inner {
    padding: 28px 18px 14px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .download {
    width: min(100%, 220px);
  }

  .toast {
    bottom: 24px;
    font-size: 15px;
  }

  .features,
  .about-section {
    padding: 54px 20px 56px;
    scroll-margin-top: 74px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

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

  .feature-card,
  .about-card {
    min-height: 178px;
    text-align: center;
  }

  .feature-card img {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 154px;
  }
}
