:root {
  --landing-bg: #eef3f8;
  --landing-text: #0d1320;
  --landing-muted: rgba(13, 19, 32, 0.58);
  --landing-line: rgba(13, 19, 32, 0.08);
  --landing-glass: rgba(255, 255, 255, 0.68);
  --landing-shadow: 0 28px 90px rgba(21, 32, 56, 0.12);
  --landing-ease: cubic-bezier(0.16, 0.82, 0.18, 1);
}

* {
  box-sizing: border-box;
}

body.landing-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
  color: var(--landing-text);
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(ellipse at 14% 10%, rgba(83, 143, 255, 0.075), transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(110, 99, 255, 0.042), transparent 44%),
    radial-gradient(circle at 50% 76%, rgba(13, 19, 32, 0.045), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f0f5fa 48%, #e7edf4 100%);
  font-family: "SF Pro Display", "Aptos", "Segoe UI Variable Text", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

body.landing-body::before,
body.landing-body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(34px);
}

body.landing-body::before {
  width: 52vw;
  height: 46vw;
  left: -5vw;
  top: -5vh;
  background: rgba(87, 142, 255, 0.055);
  animation: ambientFloat 12s ease-in-out infinite alternate;
}

body.landing-body::after {
  width: 48vw;
  height: 42vw;
  right: -8vw;
  top: -2vh;
  background: rgba(80, 82, 124, 0.045);
  animation: ambientFloat 14s ease-in-out 0.5s infinite alternate-reverse;
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 56px;
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: start;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.landing-brand,
.nav-item,
.landing-kicker,
.landing-actions {
  opacity: 0;
  transform: translateY(14px);
  animation: elementReveal 720ms var(--landing-ease) forwards;
}

.landing-brand {
  color: var(--landing-text);
  text-decoration: none;
  font-family: "SF Pro Display", "Aptos Display", "Segoe UI Variable Display", "Microsoft YaHei UI", sans-serif;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.035em;
  animation-delay: 1.55s;
}

.landing-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item:nth-child(1) {
  animation-delay: 1.67s;
}

.nav-item:nth-child(2) {
  animation-delay: 1.78s;
}

.nav-item:nth-child(3) {
  animation-delay: 1.89s;
}

.nav-trigger {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--landing-text);
  font-family: "SF Pro Text", "Aptos", "Segoe UI Variable Text", "Microsoft YaHei UI", sans-serif;
  font-size: 14px;
  font-weight: 660;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--landing-line);
  box-shadow: 0 12px 30px rgba(13, 19, 32, 0.08);
}

.nav-flyout {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 136px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 54px rgba(21, 32, 56, 0.10);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .nav-flyout,
.nav-item:focus-within .nav-flyout {
  opacity: 1;
  transform: translateY(0);
}

.nav-flyout-wide {
  min-width: 214px;
}

.flyout-label {
  display: block;
  margin-bottom: 7px;
  color: var(--landing-muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-flyout strong {
  color: var(--landing-text);
  font-family: "SF Pro Display", "Aptos Display", "Segoe UI Variable Display", "Microsoft YaHei UI", sans-serif;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.012em;
}

.landing-main {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 42px 0 0;
}

.landing-kicker {
  margin: 0 0 28px;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation-delay: 1.42s;
}

.landing-title {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  line-height: 0.92;
}

.title-cs2 {
  position: relative;
  display: inline-block;
  padding: 0 0.16em 0 0.07em;
  color: transparent;
  background: linear-gradient(180deg, #79a9ff 0%, #4f80ff 42%, #243ed9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Arial Rounded MT Bold", "Segoe UI Black", "Aptos Display", "Microsoft YaHei", sans-serif;
  font-size: clamp(92px, 13vw, 200px);
  font-weight: 1000;
  letter-spacing: -0.012em;
  line-height: 1;
  font-variant-numeric: lining-nums;
  filter: saturate(1.08);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  animation: cs2Appear 900ms var(--landing-ease) 120ms forwards;
}

.title-cs2::after {
  content: "CS2";
  position: absolute;
  inset: 0;
  padding: inherit;
  z-index: -1;
  color: rgba(72, 105, 255, 0.20);
  filter: blur(22px);
  transform: scale(1.045);
}

.title-analysis {
  display: inline-block;
  padding: 0 0.11em 0.08em;
  color: #0d1320;
  font-family: "Aptos Display", "Segoe UI Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(72px, 10.1vw, 154px);
  font-weight: 950;
  letter-spacing: -0.052em;
  line-height: 1.03;
  opacity: 0;
  transform-origin: 50% 0%;
  transform: translateY(-0.42em) scaleY(0.72);
  clip-path: inset(0 0 100% 0);
  animation: analysisDrop 900ms cubic-bezier(0.18, 0.9, 0.18, 1) 760ms forwards;
}

.landing-copy {
  position: relative;
  max-width: 900px;
  margin: 30px auto 0;
  color: transparent;
  background:
    linear-gradient(90deg, rgba(7, 13, 26, 0.58) 0%, rgba(8, 14, 27, 0.88) 26%, rgba(47, 82, 181, 0.82) 50%, rgba(8, 14, 27, 0.88) 74%, rgba(7, 13, 26, 0.58) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 16px 52px rgba(73, 114, 225, 0.13);
  font-family: "SF Pro Display", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(21px, 2.28vw, 30px);
  font-weight: 760;
  letter-spacing: -0.018em;
  line-height: 1.55;
  opacity: 0;
  transform: scale(1.28);
  transform-origin: center;
  animation: emphasisSettle 880ms cubic-bezier(0.12, 0.86, 0.14, 1) 2.05s forwards;
}

.landing-copy::before {
  content: "";
  position: absolute;
  inset: -28px -52px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(72, 110, 230, 0.13), transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(13, 19, 32, 0.035), transparent 68%);
  opacity: 0;
  transform: scale(0.78);
  animation: emphasisGlow 880ms cubic-bezier(0.12, 0.86, 0.14, 1) 2.05s forwards;
}

.landing-actions {
  margin-top: 36px;
  animation-delay: 2.38s;
}

.landing-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #101827;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.015em;
  box-shadow: 0 16px 36px rgba(13, 19, 32, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.landing-primary:hover,
.landing-primary:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: #0a111f;
  box-shadow: 0 20px 46px rgba(13, 19, 32, 0.18);
}

.landing-followup {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 90px 0 120px;
  text-align: center;
  scroll-snap-align: start;
  overflow: hidden;
}

.landing-followup::before {
  content: "";
  position: absolute;
  inset: 14% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.70), transparent 38%),
    radial-gradient(circle at 42% 45%, rgba(74, 112, 255, 0.08), transparent 58%),
    radial-gradient(circle at 58% 55%, rgba(13, 19, 32, 0.04), transparent 68%);
  filter: blur(6px);
}

.followup-inner {
  display: grid;
  justify-items: center;
  gap: 34px;
  max-width: 1160px;
  padding: 0 12px;
}

.followup-inner h2 {
  margin: 0;
  color: transparent;
  background:
    linear-gradient(90deg, rgba(13, 19, 32, 0.72) 0%, #0d1320 24%, #3159d8 50%, #0d1320 76%, rgba(13, 19, 32, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "SF Pro Display", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(42px, 7.4vw, 112px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.12;
  text-shadow: 0 22px 70px rgba(73, 114, 225, 0.12);
  opacity: 0;
  transform: translateX(-72px);
}

.followup-primary {
  min-width: 182px;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(34px);
  transition: box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.landing-followup.is-visible .followup-inner h2,
.landing-followup.is-visible .followup-primary {
  opacity: 1;
  transform: translate(0, 0);
}

.landing-followup.is-replaying .followup-inner h2 {
  animation: followupTitleReplay 860ms var(--landing-ease) both;
}

.landing-followup.is-replaying .followup-primary {
  animation: followupButtonReplay 760ms var(--landing-ease) 180ms both;
}

.followup-note {
  max-width: 720px;
  margin: -16px 0 0;
  color: rgba(13, 19, 32, 0.48);
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(18px);
}

.landing-followup.is-visible .followup-note {
  opacity: 1;
  transform: translateY(0);
}

.landing-followup.is-replaying .followup-note {
  animation: followupNoteReplay 720ms var(--landing-ease) 320ms both;
}

.followup-report-button {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(13, 19, 32, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(13, 19, 32, 0.46);
  font: 750 13px/1 "SF Pro Text", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 34px rgba(13, 19, 32, 0.06);
  cursor: pointer;
  opacity: 0;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 220ms ease;
}

.followup-report-button:hover,
.followup-report-button:focus-visible {
  outline: none;
  color: rgba(13, 19, 32, 0.76);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(13, 19, 32, 0.12);
  transform: translateX(-50%) translateY(-2px);
}

.landing-followup.is-visible .followup-report-button {
  opacity: 1;
}

.landing-followup.is-replaying .followup-report-button {
  animation: followupReportReplay 680ms var(--landing-ease) 460ms both;
}

.landing-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.landing-feedback-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.34), transparent 24%),
    rgba(9, 15, 27, 0.34);
  backdrop-filter: blur(18px);
}

.feedback-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(246, 249, 255, 0.72)),
    radial-gradient(circle at 80% 0%, rgba(78, 126, 255, 0.12), transparent 44%);
  box-shadow: 0 34px 100px rgba(13, 19, 32, 0.22);
  transform: translateY(22px) scale(0.985);
  transition: transform 260ms var(--landing-ease);
}

.landing-feedback-modal.is-open .feedback-panel {
  transform: translateY(0) scale(1);
}

.feedback-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(13, 19, 32, 0.72);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.feedback-kicker {
  margin: 0 0 10px;
  color: rgba(49, 89, 216, 0.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feedback-panel h2 {
  margin: 0;
  color: #0d1320;
  font-family: "SF Pro Display", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.feedback-copy {
  margin: 12px 0 20px;
  color: var(--landing-muted);
  font-size: 15px;
  line-height: 1.7;
}

#landing-feedback-text {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 18px 18px;
  border: 1px solid rgba(13, 19, 32, 0.10);
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, 0.76);
  color: #0d1320;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font: 650 15px/1.75 "SF Pro Text", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

#landing-report-text {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 18px 18px;
  border: 1px solid rgba(13, 19, 32, 0.10);
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, 0.76);
  color: #0d1320;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font: 650 15px/1.75 "SF Pro Text", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

#landing-feedback-text:focus,
#landing-report-text:focus {
  border-color: rgba(49, 89, 216, 0.36);
  box-shadow: 0 0 0 5px rgba(49, 89, 216, 0.08);
}

.report-file-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(13, 19, 32, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(13, 19, 32, 0.72);
  cursor: pointer;
}

.report-file-field span {
  font-size: 14px;
  font-weight: 850;
}

.report-file-field small {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 650;
}

.report-file-field input {
  margin-top: 4px;
  width: 100%;
  color: rgba(13, 19, 32, 0.66);
  font-size: 13px;
}

.feedback-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

#landing-feedback-status,
#landing-report-status {
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 650;
}

#landing-feedback-status[data-tone="success"],
#landing-report-status[data-tone="success"] {
  color: #2f8d5c;
}

#landing-feedback-status[data-tone="error"],
#landing-report-status[data-tone="error"] {
  color: #cf3f32;
}

.feedback-submit {
  min-height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #101827;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(13, 19, 32, 0.15);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feedback-submit:hover,
.feedback-submit:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: #0a111f;
  box-shadow: 0 18px 44px rgba(13, 19, 32, 0.20);
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.landing-announcement-panel {
  width: min(520px, 100%);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 128, 255, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.78));
}

.landing-announcement-message {
  margin: 18px auto 24px;
  max-width: 440px;
  color: rgba(13, 19, 32, 0.66);
  font: 700 16px/1.85 "SF Pro Text", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  white-space: pre-line;
}

.landing-announcement-confirm {
  min-width: 150px;
}

body.feedback-modal-open {
  overflow: hidden;
}

@keyframes cs2Appear {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(18px) saturate(1.08);
  }
  68% {
    opacity: 1;
    transform: translateY(-5px) scale(1.008);
    filter: blur(0) saturate(1.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1.08);
  }
}

@keyframes analysisDrop {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-0.42em) scaleY(0.72);
    filter: blur(8px);
  }
  55% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0.07em) scaleY(1.04);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

@keyframes elementReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes emphasisSettle {
  0% {
    opacity: 0;
    transform: scale(1.28);
    filter: blur(7px);
  }
  46% {
    opacity: 1;
    transform: scale(1.055);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    transform: scale(0.995);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes emphasisGlow {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  42% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 0.62;
    transform: scale(1);
  }
}

@keyframes ambientFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.04);
  }
}

@keyframes followupTitleReplay {
  0% {
    opacity: 0;
    transform: translateX(-96px);
    filter: blur(12px);
  }
  62% {
    opacity: 1;
    transform: translateX(8px);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes followupButtonReplay {
  0% {
    opacity: 0;
    transform: translateY(46px) scale(0.98);
    filter: blur(10px);
  }
  66% {
    opacity: 1;
    transform: translateY(-5px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes followupNoteReplay {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes followupReportReplay {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 820px) {
  .landing-shell {
    width: min(100% - 32px, 720px);
  }

  .landing-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav {
    flex-wrap: wrap;
  }

  .landing-main {
    align-content: start;
    padding-top: 76px;
  }

  .nav-flyout {
    left: 0;
    right: auto;
  }

  .landing-copy {
    transform: scale(1.12);
  }

  .landing-followup {
    width: min(100% - 32px, 720px);
    min-height: 82vh;
    padding: 74px 0 116px;
  }

  .followup-inner {
    gap: 26px;
  }

  .feedback-panel {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .feedback-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-submit {
    width: 100%;
  }

  .followup-report-button {
    bottom: 32px;
  }
}

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

  .followup-inner h2,
  .followup-primary,
  .followup-note,
  .followup-report-button,
  .landing-feedback-modal,
  .feedback-panel {
    transition: none;
  }
}
