:root {
  --bg: #1b1828;
  --ink: #f4f0e9;
  --muted: rgba(244, 240, 233, 0.48);
  --violet: #8d7af7;
  --line: rgba(255, 255, 255, 0.09);
  --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 15%, rgba(130, 105, 235, 0.18), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(223, 168, 165, 0.1), transparent 27%),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.landing {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 46px;
}

.landing::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -320px;
  right: -150px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(255, 255, 255, 0.012), 0 0 0 230px rgba(255, 255, 255, 0.008);
  pointer-events: none;
}

.landing::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px);
  background-size: 31px 31px;
  mask-image: linear-gradient(110deg, transparent 0%, #000 50%, transparent 100%);
  pointer-events: none;
}

.landing-header {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1380px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #9a89ff, #5c49e9);
  box-shadow: 0 12px 26px rgba(89, 70, 233, 0.26);
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.brand-word {
  font-family: Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.17em;
}

.brand-sub {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.admin-link {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  transition: all 0.18s ease;
}

.admin-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.landing-main {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 40px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 55px 0 45px;
}

.landing-copy {
  max-width: 625px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.eyebrow span {
  width: 18px;
  height: 1px;
  background: #a997ff;
}

h1 {
  margin: 25px 0 22px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.025em;
}

h1 em {
  color: #b7a8ff;
  font-style: normal;
}

.lede {
  max-width: 440px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-btn {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 24px;
  padding: 0 23px;
  border-radius: 10px;
  color: #1d1928;
  background: #f4f0e9;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.primary-btn span {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.primary-btn:hover {
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.19);
  transform: translateY(-2px);
}

.primary-btn:hover span {
  transform: translateX(3px);
}

.hint {
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 48px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.feature-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-row strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 500;
}

.feature-row span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.landing-visual {
  position: relative;
  min-height: 550px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.orbit-one {
  top: -40px;
  left: 11%;
  width: 480px;
  height: 480px;
}

.orbit-two {
  top: 55px;
  left: 20%;
  width: 330px;
  height: 330px;
  border-style: dashed;
  opacity: 0.55;
}

.product-stack {
  position: absolute;
  top: 6%;
  left: 14%;
  width: 340px;
  height: 470px;
}

.stack-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.3);
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-back {
  top: 15px;
  right: -4px;
  width: 230px;
  height: 300px;
  transform: rotate(8deg);
  opacity: 0.55;
}

.card-mid {
  top: 104px;
  left: 0;
  width: 188px;
  height: 235px;
  transform: rotate(-10deg);
  opacity: 0.72;
}

.card-front {
  top: 80px;
  left: 54px;
  width: 286px;
  height: 388px;
  border-radius: 25px;
  transform: rotate(1.5deg);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-7px); }
}

.card-front img {
  height: 307px;
}

.card-front figcaption {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 0 17px;
  background: #fffdf8;
  color: #2b2730;
}

.card-front figcaption div {
  min-width: 0;
}

.card-front figcaption span {
  display: block;
  color: #a59e93;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.card-front figcaption strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-front figcaption b {
  flex: 0 0 auto;
  color: #312c36;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 500;
}

.visual-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(37, 31, 52, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.visual-note div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visual-note strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 500;
}

.visual-note span:not(.note-dot):not(.check-mark) {
  color: rgba(255, 255, 255, 0.35);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
}

.note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #84e5b8;
  box-shadow: 0 0 0 4px rgba(132, 229, 184, 0.09), 0 0 15px rgba(132, 229, 184, 0.35);
}

.note-top {
  top: 44px;
  right: 0;
}

.note-bottom {
  bottom: 43px;
  left: 3%;
}

.check-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1e3b2d;
  background: #84e5b8;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.visual-caption {
  position: absolute;
  right: 3%;
  bottom: 0;
  color: rgba(255, 255, 255, 0.16);
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.2em;
}

.landing-footer {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1380px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.22);
  font-size: 8px;
  letter-spacing: 0.07em;
}

@media (max-width: 1100px) {
  .landing {
    padding: 0 30px;
  }

  .landing-main {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 20px;
  }

  .product-stack {
    left: 7%;
    transform: scale(0.92);
    transform-origin: top left;
  }

  .note-top {
    right: -10px;
  }
}

@media (max-width: 860px) {
  .landing-main {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 10px;
  }

  .landing-copy {
    max-width: 560px;
  }

  h1 {
    font-size: clamp(43px, 8vw, 63px);
  }

  .landing-visual {
    min-height: 510px;
    margin-top: 20px;
  }

  .product-stack {
    left: 50%;
    transform: translateX(-50%) scale(0.94);
    transform-origin: top center;
  }

  .orbit-one {
    left: 50%;
    transform: translateX(-50%);
  }

  .orbit-two {
    left: 50%;
    transform: translateX(-50%);
  }

  .note-top {
    right: 4%;
  }

  .note-bottom {
    left: 4%;
  }

  .landing-footer {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .landing {
    padding: 0 19px;
  }

  .landing-header {
    padding: 19px 0;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    font-size: 17px;
  }

  .brand-word {
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  .admin-link {
    height: 31px;
    padding: 0 10px;
    font-size: 9px;
  }

  .landing-main {
    padding-top: 40px;
  }

  .eyebrow {
    font-size: 7.5px;
    letter-spacing: 0.1em;
  }

  h1 {
    margin-top: 20px;
    font-size: 41px;
    line-height: 1.3;
  }

  .lede {
    font-size: 11px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 27px;
  }

  .primary-btn {
    width: 100%;
    justify-content: space-between;
  }

  .feature-row {
    gap: 19px;
    margin-top: 33px;
  }

  .feature-row strong {
    font-size: 9px;
  }

  .feature-row span {
    font-size: 8px;
  }

  .landing-visual {
    min-height: 432px;
    margin-top: 10px;
  }

  .product-stack {
    top: 3%;
    transform: translateX(-50%) scale(0.79);
    transform-origin: top center;
  }

  .orbit-one {
    top: 0;
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    top: 68px;
    width: 250px;
    height: 250px;
  }

  .note-top {
    top: 15px;
    right: 0;
    padding: 9px 10px;
  }

  .note-bottom {
    bottom: 15px;
    left: 0;
    padding: 9px 10px;
  }

  .visual-note strong {
    font-size: 8px;
  }

  .visual-note span:not(.note-dot):not(.check-mark) {
    font-size: 6.5px;
  }

  .visual-caption {
    display: none;
  }

  .landing-footer {
    display: block;
    padding: 15px 0 20px;
    line-height: 1.8;
  }

  .landing-footer span {
    display: block;
  }
}
