:root {
  --ink: #162033;
  --muted: #5d6b82;
  --line: rgba(22, 32, 51, 0.12);
  --paper: #fffaf2;
  --white: #ffffff;
  --orange: #ff7a21;
  --green: #11b991;
  --blue: #2f6df6;
  --pink: #ff5c8a;
  --shadow: 0 24px 70px rgba(22, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fffdf8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(29, 49, 76, 0.12);
  backdrop-filter: blur(20px);
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  top: 10px;
  height: 62px;
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #18243a;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #39465b;
  font-size: 15px;
  font-weight: 700;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f3f6fb;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 92px 16px auto;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: 130px max(28px, calc((100vw - 1180px) / 2)) 84px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 109, 246, 0.22), transparent 32%),
    radial-gradient(circle at 14% 24%, rgba(255, 122, 33, 0.22), transparent 28%),
    linear-gradient(135deg, #fff2df 0%, #eaf7ff 48%, #f1fff8 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 32, 51, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 51, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6.2vw, 86px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead,
.section-title p,
.split p,
.platform-panel p,
.feature-card p,
.price-card p,
.start-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff4f6d);
  box-shadow: 0 18px 40px rgba(255, 105, 39, 0.28);
}

.secondary-button {
  color: #1c2940;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(22, 32, 51, 0.1);
}

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

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone-shell {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: min(360px, 76vw);
  aspect-ratio: 9 / 19.5;
  padding: 13px;
  border: 9px solid #172033;
  border-radius: 46px;
  background: #172033;
  box-shadow: var(--shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #172033;
}

.phone-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.hero-shot {
  position: relative;
  overflow: hidden;
  width: min(390px, 78vw);
  aspect-ratio: 1179 / 2556;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.34)),
    linear-gradient(135deg, rgba(255, 122, 33, 0.26), rgba(47, 109, 246, 0.22));
  box-shadow: 0 30px 80px rgba(22, 32, 51, 0.18);
  backdrop-filter: blur(18px);
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(22, 32, 51, 0.1);
}

.main-phone {
  transform: rotate(2deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  color: #1b2840;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 50px rgba(22, 32, 51, 0.16);
  font-weight: 900;
  backdrop-filter: blur(16px);
  animation: floaty 4s ease-in-out infinite;
}

.card-word {
  top: 18%;
  left: 0;
}

.card-text {
  right: 4%;
  top: 46%;
  animation-delay: -1.2s;
}

.card-price {
  left: 8%;
  bottom: 14%;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  animation-delay: -2s;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(22, 32, 51, 0.55);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section-title {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.intro {
  background: #fffdf8;
}

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

.platform-panel,
.feature-card,
.price-card,
.start-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(22, 32, 51, 0.08);
}

.platform-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
}

.platform-panel img {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 172px;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(22, 32, 51, 0.12);
}

.platform-panel.mini {
  background: linear-gradient(135deg, #fff, #eafff7);
}

.platform-panel.app {
  background: linear-gradient(135deg, #fff, #fff0e3);
}

.panel-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: #172033;
  font-size: 13px;
  font-weight: 900;
}

.content-band,
.training,
.pricing {
  background: #f5f8ff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 52px;
}

.split.reverse {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.content-tags,
.loop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-tags span,
.loop-list span {
  padding: 13px 16px;
  border-radius: 16px;
  color: #1d2a41;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 32, 51, 0.07);
  font-weight: 900;
}

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

.flow-step {
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #172033, #335070);
}

.flow-step:nth-child(2) {
  background: linear-gradient(135deg, var(--blue), #18a2dd);
}

.flow-step:nth-child(3) {
  background: linear-gradient(135deg, var(--green), #70c14c);
}

.flow-step:nth-child(4) {
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step strong {
  margin-bottom: 14px;
  font-size: 24px;
}

.flow-step span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.feature-card.large {
  grid-row: auto;
}

.feature-card img {
  align-self: center;
  width: min(300px, 100%);
  height: 360px;
  margin-top: 24px;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 20px 46px rgba(22, 32, 51, 0.16);
}

.feature-card.large img {
  width: min(300px, 100%);
}

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

.training-grid article {
  min-height: 156px;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  background: #172033;
}

.training-grid article:nth-child(3n + 1) {
  background: linear-gradient(135deg, var(--orange), #ff4f6d);
}

.training-grid article:nth-child(3n + 2) {
  background: linear-gradient(135deg, var(--blue), #12a7d8);
}

.training-grid article:nth-child(3n) {
  background: linear-gradient(135deg, var(--green), #74bf47);
}

.training-grid strong,
.training-grid span {
  display: block;
}

.training-grid strong {
  margin-bottom: 12px;
  font-size: 22px;
}

.training-grid span {
  color: rgba(255, 255, 255, 0.83);
  line-height: 1.6;
}

.loop {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 122, 33, 0.13), transparent 30%),
    #fffdf8;
}

.pet-phone {
  width: min(330px, 78vw);
  transform: rotate(-3deg);
}

.pet-video-wrap {
  position: relative;
  overflow: hidden;
  width: min(420px, 82vw);
  margin: 0 auto;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 122, 33, 0.18), rgba(17, 185, 145, 0.2));
  box-shadow: var(--shadow);
}

.pet-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  border-radius: inherit;
}

.pet-video-wrap video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: inherit;
}

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

.price-card {
  padding: 36px;
}

.price-card span,
.price-card strong {
  display: block;
}

.price-card span {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 900;
}

.price-card strong {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1;
  font-weight: 900;
}

.price-card.featured {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #172033, #3454e8 55%, #11b991);
}

.price-card.featured span,
.price-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.start {
  background: #fffdf8;
}

.start-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 36px;
  padding: 42px;
  background:
    radial-gradient(circle at 88% 20%, rgba(17, 185, 145, 0.18), transparent 30%),
    linear-gradient(135deg, #fff, #fff4e8);
}

.start-card img {
  width: 220px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(22, 32, 51, 0.12);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #121a2b;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  margin-bottom: 4px;
}

.footer-info {
  text-align: right;
  font-size: 14px;
  line-height: 1.7;
}

.footer-info p {
  margin: 2px 0;
}

.footer-info a {
  color: #fff;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
  }

  .hero-visual {
    min-height: auto;
  }

  .main-phone {
    transform: rotate(0);
  }

  .card-word {
    left: 4%;
  }

  .platform-grid,
  .split,
  .split.reverse,
  .feature-showcase,
  .price-grid,
  .start-card {
    grid-template-columns: 1fr;
  }

  .book-flow,
  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-info {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 60px;
    border-radius: 22px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    gap: 34px;
    padding: 104px 18px 66px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 23px;
  }

  .hero-lead,
  .section-title p,
  .split p,
  .platform-panel p,
  .feature-card p,
  .price-card p,
  .start-card p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    padding: 11px 13px;
    font-size: 13px;
  }

  .card-text {
    right: 0;
  }

  .section {
    padding: 76px 18px;
  }

  .platform-panel {
    min-height: 370px;
    padding: 26px;
  }

  .platform-panel img {
    right: 26px;
    bottom: 26px;
    width: 146px;
  }

  .book-flow,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .price-card,
  .start-card {
    padding: 24px;
  }

  .feature-card img,
  .feature-card.large img {
    height: 340px;
  }

  .start-card img {
    width: 190px;
  }
}
