:root {
  --design-width: 1920;
  --design-height: 1080;
  --scale: 1;
  --blue: #223a73;
  --blue-deep: #254082;
  --muted-blue: #737995;
  --gray: #6b6b6b;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #f8f4f1;
  color: var(--blue);
  font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #f8f4f1;
}

.stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: -30px;
  width: 1980px;
  height: 1080px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -17px;
  left: 0;
  width: 1979.17px;
  height: 1113.88px;
  object-fit: cover;
}

.logo {
  position: absolute;
  top: 0;
  left: 25px;
  width: 368px;
  height: 368px;
  object-fit: cover;
}

.space-card-wrap {
  position: absolute;
  top: 17px;
  left: 1424px;
  width: 484px;
  height: 400px;
  overflow: hidden;
}

.space-card-inner-rotor {
  position: absolute;
  top: 44px;
  left: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400.45px;
  height: 303.32px;
  transform: rotate(9.4deg);
}

.space-card-inner-clip {
  position: relative;
  width: 365px;
  height: 247px;
  overflow: hidden;
}

.space-card-inner {
  position: absolute;
  top: -61.97px;
  left: -47.64px;
  width: 431px;
  height: 323px;
  object-fit: cover;
  transform: rotate(-6.86deg);
}

.space-card {
  position: absolute;
  top: -42px;
  left: -88px;
  width: 633px;
  height: 475px;
  object-fit: cover;
}

.nav {
  position: absolute;
  top: 94px;
  left: 600.5px;
  display: flex;
  align-items: flex-start;
  gap: 141px;
  width: 631px;
  height: 39px;
}

.nav-item {
  position: relative;
  display: block;
  width: 52px;
  height: 39px;
  color: var(--muted-blue);
  font-size: 26px;
  font-weight: 400;
  line-height: 39px;
  text-align: center;
  white-space: nowrap;
}

.nav-item.active {
  color: var(--blue);
}

.nav-item.active::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 34px;
  height: 2px;
  content: "";
  background: url("./assets/figma/nav-underline.svg?v=20260607-1600") center / 34px 2px no-repeat;
  transform: translateX(-50%);
}

.glass-card {
  position: absolute;
  top: 178px;
  left: 378px;
  width: 1225px;
  height: 692px;
}

.glass-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 1225px;
  height: 692px;
  border-radius: 31px;
  background: linear-gradient(119.73deg, rgba(255, 255, 255, 0.06) 13.28%, rgba(255, 255, 255, 0.12) 97.9%);
  box-shadow:
    inset 0 0 6px 1px #fff,
    -3px 15px 7.85px rgba(227, 222, 224, 0.95);
}

.glass-line {
  position: absolute;
  top: 5px;
  left: 4px;
  width: 1216px;
  height: 682px;
  border: 0.1px solid #fff;
  border-radius: 26px;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.46);
  pointer-events: none;
}

.eyebrow {
  position: absolute;
  top: 97px;
  left: 121px;
  width: 336px;
  height: 29px;
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: 2.2px;
  white-space: nowrap;
}

h1 {
  position: absolute;
  top: 146px;
  left: 121px;
  margin: 0;
  color: var(--blue);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 5.5px;
  white-space: nowrap;
}

.tagline {
  position: absolute;
  top: 303px;
  left: 121px;
  margin: 0;
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.features {
  position: absolute;
  top: 373px;
  left: 120px;
  display: flex;
  align-items: flex-start;
  gap: 21px;
  width: 417px;
  height: 118px;
}

.feature {
  width: 125px;
  margin: 0;
  text-align: center;
}

.feature-icon {
  display: block;
  height: 40px;
  margin: 0 auto 5px;
  object-fit: contain;
}

.feature-icon.template {
  width: 44.28px;
}

.feature-icon.brush {
  width: 36.92px;
}

.feature-icon.model {
  width: 38.62px;
}

.feature h2 {
  width: 125px;
  height: 30px;
  margin: 0 0 5px;
  color: var(--blue-deep);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.feature p {
  width: 125px;
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.75px;
}

.create-btn {
  position: absolute;
  top: 532px;
  left: 121px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 286px;
  height: 58px;
  padding: 0 10px 0 30px;
  color: #434f76;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #bcbbc6;
  border-radius: 10px;
}

.create-btn span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.9px;
}

.create-btn img {
  width: 15px;
  height: 15px;
  margin-right: 0;
  transform: rotate(90deg);
}

.create-btn:hover,
.create-btn:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.model-preview {
  position: absolute;
  top: 130px;
  left: 669px;
  width: 442px;
  height: 442px;
  overflow: hidden;
}

.model-preview img {
  position: absolute;
  top: -14px;
  left: -199px;
  width: 840.23px;
  height: 469.44px;
  object-fit: cover;
}

.panel-shadow {
  position: absolute;
  top: 849.8px;
  left: 260.7px;
  width: 1370.4px;
  height: 88.4px;
}

.download-panel {
  position: absolute;
  top: 781px;
  left: 499px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 286px;
  height: 136px;
  padding: 16px 44px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.download-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 47px;
  padding: 12px;
  border-radius: 8px;
}

.download-btn img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.download-btn span {
  margin-left: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.9px;
  white-space: nowrap;
}

.download-btn.ios {
  background: #333;
}

.download-btn.android {
  background: #8fc31f;
}

.download-btn:hover,
.download-btn:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.create-btn[aria-expanded="true"] img {
  transform: rotate(270deg);
}

@media (max-aspect-ratio: 9 / 16) {
  body {
    background: #f7f4f1;
  }
}
