:root {
  --sky: #63c8f2;
  --soft-sky: #a8e2f8;
  --cream: #fff6e5;
  --coral: #ff7a59;
  --sun: #ffc531;
  --grass: #6ecb63;
  --ink: #33385c;
  --muted: #7a80a8;
  --white: #ffffff;
  --night: #0e2e5d;
  --shadow: 0 18px 42px rgba(34, 83, 130, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.mobile-only {
  display: none;
}

.fox-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
  width: min(1200px, calc(100% - 48px));
  min-height: 64px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(31, 87, 158, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.fox-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
}

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

.fox-brand strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.fox-brand small {
  display: block;
  margin-top: 2px;
  color: #2577bb;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.fox-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: #3c5f98;
  font-size: 15px;
  font-weight: 800;
}

.fox-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.fox-nav a:hover,
.fox-nav a.is-active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.policy-link {
  color: #6275a1;
  font-size: 13px;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 18px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(255, 122, 89, 0.28);
}

.secondary-button {
  color: #2d65a1;
  background: rgba(255, 246, 229, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #edf8ff;
}

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

.section-pad {
  padding: 96px max(24px, calc((100vw - 1200px) / 2));
}

.hero {
  min-height: 760px;
  padding-top: 124px;
  padding-bottom: 88px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(16, 96, 208, 0.76) 0%, rgba(81, 105, 233, 0.65) 62%, rgba(110, 203, 99, 0.72) 100%),
    url("https://cdn.funenkids.cn/fox-site/images/bg-home-moon.webp") center top / cover no-repeat,
    var(--sky);
}

.hero::after,
.download::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -8px;
  left: -8vw;
  height: 96px;
  background:
    radial-gradient(80px 36px at 10% 74%, #71c964 35%, transparent 36%),
    radial-gradient(120px 42px at 22% 68%, #88d96f 35%, transparent 36%),
    radial-gradient(160px 52px at 45% 76%, #6ecb63 35%, transparent 36%),
    radial-gradient(110px 40px at 72% 70%, #8dde73 35%, transparent 36%),
    radial-gradient(150px 50px at 90% 78%, #6ecb63 35%, transparent 36%);
  opacity: 0.9;
}

.hero,
.download {
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 38px;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 17px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #dff4ff;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.12;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.22;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 38px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 520px;
  padding: 0;
  list-style: none;
}

.proof-strip li {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #f5fbff;
  font-size: 16px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.1);
}

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

.device-stack {
  position: absolute;
  inset: 46px 0 0 44px;
}

.tablet {
  overflow: hidden;
  margin: 0;
  border: 12px solid #273151;
  border-radius: 24px;
  background: #273151;
  box-shadow: 0 28px 50px rgba(13, 45, 104, 0.34);
}

.tablet-main {
  width: min(680px, 100%);
  transform: rotate(3deg);
}

.tablet-float {
  position: absolute;
  right: 12px;
  bottom: 16px;
  width: 440px;
  transform: rotate(-2deg);
}

.tablet img,
.showcase-tablet img,
.screen-card img,
.journey-map img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-fox {
  position: absolute;
  right: -8px;
  bottom: 0;
  z-index: 2;
  width: 252px;
  filter: drop-shadow(0 22px 24px rgba(15, 60, 92, 0.24));
}

.features {
  background:
    radial-gradient(circle at 12% 8%, rgba(99, 200, 242, 0.14), transparent 28%),
    var(--cream);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 2px solid rgba(84, 145, 178, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.feature-card p,
.benefit-row p,
.trust-copy li,
.download-copy p,
.download-note,
.fox-footer {
  color: var(--muted);
  font-size: 17px;
}

.feature-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--white);
  font-size: 30px;
  background: var(--sky);
}

.accent-coral .feature-icon {
  background: var(--coral);
}

.accent-sun .feature-icon {
  background: var(--sun);
}

.accent-grass .feature-icon {
  background: var(--grass);
}

.journey {
  background:
    linear-gradient(180deg, rgba(99, 200, 242, 0.34), rgba(255, 246, 229, 0.96)),
    #dff6ff;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 42px;
  max-width: 1200px;
  margin: 0 auto;
}

.journey-map {
  margin: 0;
}

.journey-map img {
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.journey-map figcaption {
  display: flex;
  justify-content: space-around;
  margin-top: -46px;
  padding: 0 12%;
  color: #2764a5;
  font-size: 17px;
  font-weight: 900;
}

.journey-map figcaption span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 22px;
  border: 3px solid rgba(255, 197, 49, 0.7);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(36, 99, 145, 0.14);
}

.journey-benefits {
  display: grid;
  gap: 26px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
}

.benefit-icon {
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(55, 119, 159, 0.14);
}

.benefit-icon::before {
  display: grid;
  height: 100%;
  place-items: center;
  color: #2c91d1;
  font-size: 34px;
  font-weight: 900;
}

.benefit-icon.book::before {
  content: "📘";
}

.benefit-icon.path::before {
  content: "⌁";
  color: var(--coral);
  font-size: 48px;
}

.benefit-icon.star::before {
  content: "★";
  color: var(--sun);
}

.experience {
  background: var(--white);
}

.showcase-tablet {
  max-width: 940px;
  margin: 0 auto 30px;
  overflow: hidden;
  border: 14px solid #253050;
  border-radius: 30px;
  background: #253050;
  box-shadow: 0 30px 60px rgba(30, 65, 116, 0.24);
}

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

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 8px solid #253050;
  border-radius: 22px;
  background: #253050;
  box-shadow: 0 16px 32px rgba(30, 65, 116, 0.18);
}

.screen-card figcaption {
  padding: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  background: var(--white);
}

.trust {
  background:
    radial-gradient(circle at 10% 30%, rgba(255, 197, 49, 0.2), transparent 20%),
    linear-gradient(90deg, #dcf4ff, #eefbff);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1fr);
  align-items: center;
  gap: 54px;
  max-width: 1080px;
  margin: 0 auto;
}

.trust-fox {
  width: min(360px, 100%);
  justify-self: center;
  filter: drop-shadow(0 24px 28px rgba(48, 112, 148, 0.18));
}

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

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grass);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.4);
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 197, 49, 0.32), transparent 15%),
    radial-gradient(circle at 78% 18%, rgba(99, 200, 242, 0.22), transparent 24%),
    linear-gradient(135deg, #0b2148, #103b73 56%, #0e2e5d);
}

.download > * {
  position: relative;
  z-index: 1;
}

.download-copy {
  max-width: 590px;
}

.download-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 14px;
}

.download-main {
  display: none;
}

.store-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 16px;
  color: var(--white);
  background: #071429;
}

.store-button small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.1;
}

.store-button strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.store-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--white);
}

.store-mark.apple::before,
.store-mark.android::before {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #071429;
  font-size: 18px;
  font-weight: 900;
}

.store-mark.apple::before {
  content: "A";
}

.store-mark.android::before {
  content: "▶";
  color: var(--grass);
}

.download-note {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.download-visual {
  position: relative;
  min-height: 560px;
}

.download-poster {
  position: absolute;
  right: 86px;
  bottom: 8px;
  width: min(320px, calc(100% - 112px));
  margin: 0;
  overflow: hidden;
  border: 10px solid #253050;
  border-radius: 30px;
  background: #253050;
  box-shadow: 0 30px 52px rgba(4, 13, 32, 0.38);
}

.download-poster img {
  width: 100%;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
}

.download-fox {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 190px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22));
}

.qr-placeholder {
  position: absolute;
  left: 0;
  bottom: 42px;
  z-index: 3;
  display: grid;
  width: 118px;
  min-height: 140px;
  place-items: center;
  padding: 12px;
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.qr-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #1d3562 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(#1d3562 12px, transparent 12px) 0 0 / 24px 24px,
    #eef7ff;
}

.qr-placeholder strong {
  font-size: 14px;
}

.fox-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1200px) / 2));
  background: var(--cream);
}

.fox-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-weight: 800;
}

.footer-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.fox-footer p,
.icp-link {
  margin: 0;
}

.icp-link {
  color: #6275a1;
  font-size: 14px;
}

.icp-link:hover {
  color: var(--coral);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .fox-header {
    grid-template-columns: auto 1fr auto;
  }

  .fox-nav {
    gap: 16px;
    font-size: 14px;
  }

  .policy-link {
    display: none;
  }

  .hero-inner,
  .journey-layout,
  .download {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .download-visual {
    min-height: 560px;
  }
}

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

  .mobile-only {
    display: block;
  }

  .fox-header {
    top: 10px;
    width: calc(100% - 24px);
    min-height: 64px;
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
    padding: 10px 10px 10px 12px;
    border-radius: 18px;
  }

  .fox-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .fox-brand strong {
    font-size: 18px;
  }

  .fox-brand small {
    display: none;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 14px;
  }

  .fox-nav {
    position: fixed;
    top: 84px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 44px rgba(31, 87, 158, 0.22);
  }

  .fox-header.nav-open .fox-nav {
    display: flex;
  }

  .fox-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(51, 56, 92, 0.08);
  }

  .policy-link {
    display: block;
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .section-pad {
    padding: 58px 16px;
  }

  .hero {
    min-height: 760px;
    padding-top: 112px;
    padding-bottom: 54px;
  }

  .hero-inner {
    gap: 22px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 50px;
  }

  .proof-strip {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 900;
  }

  .proof-strip li {
    min-height: auto;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .proof-strip li + li::before {
    content: "·";
    margin-right: 14px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .device-stack {
    inset: 16px 0 0;
  }

  .tablet {
    border-width: 8px;
    border-radius: 18px;
  }

  .tablet-main {
    width: 94%;
    margin-left: auto;
  }

  .tablet-float {
    display: none;
  }

  .hero-fox {
    right: 8px;
    bottom: 4px;
    width: 154px;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .eyebrow {
    font-size: 14px;
  }

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

  .feature-card {
    min-height: 178px;
    padding: 18px;
    border-radius: 18px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 22px;
  }

  .feature-card p,
  .benefit-row p,
  .download-copy p,
  .trust-copy li {
    font-size: 15px;
  }

  .journey-layout {
    gap: 26px;
  }

  .journey-map img {
    border-width: 6px;
    border-radius: 20px;
  }

  .journey-map figcaption {
    margin-top: 12px;
    padding: 0;
  }

  .journey-map figcaption span {
    min-height: 34px;
    padding: 0 14px;
    font-size: 14px;
  }

  .journey-benefits {
    gap: 18px;
  }

  .benefit-row {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .benefit-row p {
    display: none;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .benefit-icon::before {
    font-size: 24px;
  }

  .benefit-icon.path::before {
    font-size: 36px;
  }

  .showcase-tablet {
    border-width: 8px;
    border-radius: 20px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .screen-card {
    border-width: 7px;
    border-radius: 18px;
  }

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .trust-fox {
    width: 190px;
    justify-self: start;
  }

  .download {
    gap: 22px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .download-main {
    display: inline-flex;
    grid-column: 1 / -1;
  }

  .store-button {
    min-height: 56px;
    padding: 8px 12px;
  }

  .store-button strong {
    font-size: 15px;
  }

  .download-visual {
    min-height: 500px;
  }

  .download-poster {
    right: auto;
    left: 18px;
    bottom: 20px;
    width: min(220px, calc(100% - 116px));
    border-width: 7px;
    border-radius: 24px;
  }

  .download-fox {
    right: -4px;
    width: 130px;
  }

  .qr-placeholder {
    left: 0;
    bottom: 18px;
    width: 96px;
    min-height: 112px;
  }

  .qr-placeholder span {
    width: 58px;
    height: 58px;
  }

  .fox-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
    padding: 28px 16px;
  }

  .fox-footer nav {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 340px) {
  .header-cta {
    padding: 0 12px;
  }

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

  h1 {
    font-size: 34px;
  }
}
