:root {
  --page: #f4f8f6;
  --paper: #ffffff;
  --ink: #102520;
  --muted: #60706a;
  --soft: #e8f3ef;
  --line: rgba(16, 37, 32, 0.1);
  --green: #0d8877;
  --green-deep: #096454;
  --mint: #bceee2;
  --coral: #ff7771;
  --yellow: #f7bd3e;
  --shadow: 0 24px 70px rgba(9, 100, 84, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(188, 238, 226, 0.55), transparent 28rem),
    linear-gradient(135deg, #fbfefd 0%, var(--page) 54%, #edf7f3 100%);
  color: var(--ink);
  font-family: "LXGW WenKai Screen", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: rgba(244, 248, 246, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(13, 136, 119, 0.24);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(22px, 7vw, 112px) 86px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 248, 246, 0.98) 0%, rgba(244, 248, 246, 0.9) 44%, rgba(244, 248, 246, 0.38) 100%),
    url("./assets/moodbin-icon.webp") right 9vw center / min(42vw, 620px) no-repeat;
  opacity: 0.95;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(22px, 7vw, 112px);
  right: clamp(22px, 7vw, 112px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 136, 119, 0.32), transparent);
}

.hero-watermark {
  position: absolute;
  right: clamp(-110px, -5vw, -32px);
  bottom: clamp(-90px, -4vw, -24px);
  width: min(46vw, 560px);
  opacity: 0.13;
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 15px;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 16px 34px rgba(13, 136, 119, 0.28);
}

.secondary-action {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0;
}

.hero-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.section {
  padding: clamp(68px, 9vw, 116px) clamp(22px, 7vw, 112px);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.intro-grid,
.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro p,
.privacy-layout p,
.download-inner p,
.feature-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-section {
  background: rgba(255, 255, 255, 0.58);
}

.screens-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(232, 243, 239, 0.72)),
    var(--soft);
}

.screens-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.7fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: center;
}

.screens-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.screen-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.screen-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 12px 28px rgba(13, 136, 119, 0.22);
}

.phone-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
}

.phone-frame {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 9 / 20;
  background: #132720;
  border: 8px solid #132720;
  border-radius: 40px;
  box-shadow: 0 30px 70px rgba(16, 37, 32, 0.22);
  cursor: grab;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.phone-frame:active {
  cursor: grabbing;
}

.phone-notch {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 112px;
  height: 26px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background: #132720;
  transform: translateX(-50%);
  pointer-events: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #f8fbfa;
}

.screen-track {
  display: flex;
  height: 100%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.screen-slide {
  flex: 0 0 100%;
  height: 100%;
}

.screen-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #f8fbfa;
  pointer-events: none;
}

.screen-caption {
  width: min(100%, 360px);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.screen-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.screen-caption span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(16, 37, 32, 0.08);
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.privacy-section {
  background:
    linear-gradient(135deg, rgba(9, 100, 84, 0.98), rgba(13, 136, 119, 0.92)),
    var(--green-deep);
  color: #fff;
}

.privacy-section .section-kicker,
.privacy-section p {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.download-section {
  padding: clamp(44px, 7vw, 82px) clamp(22px, 7vw, 112px);
}

.download-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-icon {
  width: 92px;
  height: 92px;
  border-radius: 26px;
}

.download-button {
  min-width: 156px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 24px clamp(22px, 7vw, 112px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-branding,
.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.footer-records a {
  color: var(--muted);
}

.footer-records a:hover {
  color: var(--green-deep);
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(244, 248, 246, 0.98) 0%, rgba(244, 248, 246, 0.9) 56%, rgba(244, 248, 246, 0.54) 100%),
      url("./assets/moodbin-icon.webp") center bottom 3rem / min(72vw, 480px) no-repeat;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 72vw;
  }

  .hero-meta,
  .intro-grid,
  .screens-layout,
  .privacy-layout,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(78vw, 292px);
  }

  .download-inner {
    text-align: left;
  }

  .download-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-mark {
    margin-bottom: 28px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
