:root {
  --paper: #fbf7ef;
  --paper-warm: #f5ecdf;
  --ink: #191816;
  --muted: #756d62;
  --soft: #a99d8d;
  --line: rgba(95, 82, 64, 0.16);
  --line-strong: rgba(95, 82, 64, 0.24);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --gold: #d99a2f;
  --gold-deep: #b97318;
  --blue: #86c2ff;
  --green: #b7f2a0;
  --pink: #ffbdb0;
  --lilac: #dba1ff;
  --shadow: 0 24px 70px rgba(82, 66, 45, 0.15);
  --shadow-soft: 0 12px 34px rgba(82, 66, 45, 0.09);
  --container: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background:
    linear-gradient(115deg, rgba(134, 194, 255, 0.24) 0%, rgba(134, 194, 255, 0) 28%),
    linear-gradient(250deg, rgba(255, 189, 176, 0.28) 0%, rgba(255, 189, 176, 0) 34%),
    linear-gradient(180deg, #fffaf3 0%, var(--paper) 42%, #f4eadc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(80, 65, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 65, 46, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 16px);
  mix-blend-mode: soft-light;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  width: var(--container);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(1.35);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(98, 78, 48, 0.14);
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.header-action {
  color: #fff;
  background: #171613;
  font-weight: 700;
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
}

main {
  width: var(--container);
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0 52px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.contact-label {
  margin: 0;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 16px 0 0;
  max-width: 8.5em;
  font-size: 5.4rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #171613, #34312b);
  box-shadow: 0 18px 34px rgba(25, 24, 22, 0.18);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  font-size: 0.88rem;
}

.hero-visual {
  min-width: 0;
  min-height: 720px;
  display: grid;
  place-items: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 620px);
  min-height: 720px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.phone-stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 6%;
  bottom: 20px;
  height: 120px;
  border-radius: 50%;
  background: rgba(110, 83, 46, 0.18);
  filter: blur(34px);
  transform: rotate(-4deg);
}

.phone-shot {
  position: absolute;
  width: 248px;
  max-width: 48%;
  border-radius: 34px;
  border: 9px solid rgba(255, 255, 255, 0.84);
  background: #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: transform 260ms ease;
}

.phone-shot-main {
  left: 50%;
  top: 24px;
  width: 294px;
  max-width: 54%;
  transform: translateX(-50%) rotate(0.5deg);
  z-index: 3;
}

.phone-shot-left {
  left: 0;
  top: 132px;
  transform: rotate(-9deg) translateZ(-40px);
  z-index: 2;
}

.phone-shot-right {
  right: 0;
  top: 104px;
  transform: rotate(8deg) translateZ(-24px);
  z-index: 1;
}

.phone-stage:hover .phone-shot-main {
  transform: translateX(-50%) translateY(-8px) rotate(0.5deg);
}

.phone-stage:hover .phone-shot-left {
  transform: translateY(12px) rotate(-12deg) translateZ(-40px);
}

.phone-stage:hover .phone-shot-right {
  transform: translateY(10px) rotate(11deg) translateZ(-24px);
}

.intro-section,
.features-section,
.download-section,
.contact-section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading-wide {
  max-width: 860px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: 3rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.intro-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.intro-layout p,
.feature-card p,
.download-card small {
  color: var(--muted);
  line-height: 1.86;
}

.intro-layout p {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.3);
}

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

.feature-card {
  min-height: 252px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.25);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-deep);
  background:
    linear-gradient(135deg, rgba(217, 154, 47, 0.18), rgba(134, 194, 255, 0.15)),
    rgba(255, 255, 255, 0.68);
}

.feature-card h3 {
  margin: 18px 0 0;
  font-size: 1.28rem;
}

.feature-card p {
  margin: 12px 0 0;
}

.showcase-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.72fr 1.12fr 0.72fr;
  gap: 14px;
  align-items: start;
}

.showcase-strip figure {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.showcase-strip img {
  width: 100%;
  aspect-ratio: 0.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.showcase-strip figure:nth-child(2) img {
  aspect-ratio: 0.55;
}

.showcase-strip figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.download-section {
  scroll-margin-top: 90px;
}

.download-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.3);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card-live {
  color: #fff;
  border-color: rgba(25, 24, 22, 0.1);
  background:
    linear-gradient(135deg, rgba(25, 24, 22, 0.92), rgba(54, 49, 42, 0.88)),
    linear-gradient(135deg, var(--gold), var(--pink));
  box-shadow: 0 24px 54px rgba(25, 24, 22, 0.22);
}

.download-card-live:hover,
.download-card-live:focus-visible,
.download-card:hover {
  transform: translateY(-4px);
}

.download-card-live small {
  color: rgba(255, 255, 255, 0.72);
}

.download-card-soon {
  color: var(--soft);
}

.download-system {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0.76;
}

.download-card strong {
  font-size: 1.7rem;
  line-height: 1.2;
}

.contact-panel {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(1.35);
}

.contact-mail {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.72rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-brand span {
  color: var(--ink);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.magnetic {
  will-change: transform;
}

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

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 10em;
    font-size: 4.4rem;
  }

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

  .phone-stage {
    min-height: 650px;
  }

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

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 1160px);
  }

  .site-header,
  main,
  .site-footer {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
    grid-template-columns: 1fr;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 4px;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .hero-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 36px 0 34px;
    gap: 24px;
  }

  .hero-copy,
  .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 7.2em;
    font-size: 2.68rem;
    line-height: 1.1;
  }

  .hero-lead {
    width: min(100%, 21rem);
    max-width: 21rem;
    font-size: 1rem;
    word-break: break-all;
  }

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

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: start;
  }

  .hero-meta span {
    white-space: normal;
  }

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

  .phone-shot {
    width: 190px;
    max-width: 52%;
    border-width: 7px;
    border-radius: 28px;
  }

  .phone-shot-main {
    width: 230px;
    max-width: 62%;
  }

  .phone-shot-left {
    top: 106px;
  }

  .phone-shot-right {
    top: 92px;
  }

  .intro-section,
  .features-section,
  .download-section,
  .contact-section {
    padding: 42px 0;
  }

  .section-heading h2 {
    font-size: 2.1rem;
  }

  .intro-layout,
  .feature-grid,
  .download-grid,
  .showcase-strip {
    grid-template-columns: 1fr;
  }

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

  .showcase-strip img,
  .showcase-strip figure:nth-child(2) img {
    aspect-ratio: 0.8;
  }

  .contact-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-mail {
    font-size: 1.26rem;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

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