:root {
  --night: #06111f;
  --night-soft: #0b1b2d;
  --cyan: #42e6ff;
  --blue: #3977ff;
  --white: #f5fbff;
  --muted: rgba(211, 232, 241, 0.58);
  --line: rgba(174, 219, 237, 0.17);
  --error: #ff8d9a;
}

* {
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 13% 12%, rgba(51, 122, 255, 0.2), transparent 26%),
    radial-gradient(circle at 92% 70%, rgba(66, 230, 255, 0.11), transparent 22%),
    var(--night);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.feedback-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
}

.feedback-page::before {
  position: absolute;
  top: -320px;
  right: -170px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(66, 230, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(66, 230, 255, 0.025), 0 0 0 140px rgba(66, 230, 255, 0.016);
  content: "";
  pointer-events: none;
}

.feedback-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 25px 0;
}

.feedback-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.feedback-brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(66, 230, 255, 0.14);
}

.feedback-brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.feedback-brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.12em;
}

.feedback-brand-copy small {
  color: rgba(211, 232, 241, 0.42);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.feedback-nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--muted);
  font-size: 12px;
}

.feedback-nav-links a:hover,
.feedback-nav-links a:focus-visible {
  color: var(--cyan);
}

.feedback-main {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  align-items: center;
  padding: 68px 24px 110px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
  gap: clamp(40px, 8vw, 125px);
  align-items: center;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.feedback-intro {
  padding-bottom: 20px;
}

.feedback-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feedback-kicker::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.feedback-intro h1 {
  max-width: 520px;
  margin: 25px 0 21px;
  font-size: clamp(49px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 1;
}

.feedback-intro h1 em {
  color: var(--cyan);
  font-style: normal;
}

.feedback-intro > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.feedback-promise {
  display: grid;
  gap: 17px;
  margin: 39px 0 0;
  padding: 0;
  color: rgba(211, 232, 241, 0.58);
  list-style: none;
  font-size: 12px;
}

.feedback-promise li {
  display: flex;
  align-items: center;
  gap: 11px;
}

.feedback-promise li::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(66, 230, 255, 0.38);
  border-radius: 50%;
  color: var(--cyan);
  content: "✓";
  font-size: 10px;
}

.feedback-panel {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(182, 224, 241, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19, 48, 73, 0.86), rgba(8, 22, 38, 0.92));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.feedback-panel::before {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 17px 3px rgba(66, 230, 255, 0.52);
  content: "";
}

.panel-heading {
  margin-bottom: 27px;
}

.panel-heading strong {
  display: block;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.panel-heading p {
  margin: 8px 0 0;
  color: rgba(211, 232, 241, 0.5);
  font-size: 12px;
  line-height: 1.7;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(224, 241, 248, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.field label span {
  margin-left: 4px;
  color: rgba(66, 230, 255, 0.8);
  font-size: 10px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  color: var(--white);
  background: rgba(3, 13, 25, 0.42);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input,
.field select {
  height: 44px;
  padding: 0 13px;
}

.field textarea {
  min-height: 135px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.7;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(219, 239, 247, 0.6) 50%), linear-gradient(135deg, rgba(219, 239, 247, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(197, 224, 237, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(66, 230, 255, 0.74);
  background-color: rgba(3, 18, 33, 0.66);
  box-shadow: 0 0 0 3px rgba(66, 230, 255, 0.09);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 141, 154, 0.7);
}

.field-error {
  margin: -2px 0 0;
  color: var(--error);
  font-size: 10px;
}

.submit-button,
.reset-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.submit-button {
  width: 100%;
  margin-top: 23px;
  border: 0;
  color: #03101c;
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(66, 230, 255, 0.16);
}

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

.submit-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.submit-hint {
  margin: 13px 0 0;
  color: rgba(195, 222, 234, 0.4);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.success-state {
  display: grid;
  justify-items: start;
  min-height: 330px;
  align-content: center;
}

.success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(66, 230, 255, 0.62);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(66, 230, 255, 0.1);
  box-shadow: 0 0 30px rgba(66, 230, 255, 0.18);
  font-size: 24px;
}

.success-state h2 {
  margin: 23px 0 10px;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.success-state p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.reset-button {
  min-width: 126px;
  margin-top: 27px;
  padding: 0 18px;
  border: 1px solid rgba(66, 230, 255, 0.46);
  color: var(--cyan);
  background: rgba(66, 230, 255, 0.06);
}

.feedback-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 23px 0;
  color: rgba(196, 220, 231, 0.4);
  font-size: 11px;
}

.feedback-footer-links {
  display: flex;
  gap: 21px;
}

.feedback-footer a:hover,
.feedback-footer a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 820px) {
  .feedback-main {
    padding-top: 46px;
  }

  .feedback-layout {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .feedback-intro {
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  .feedback-nav,
  .feedback-footer {
    width: calc(100% - 34px);
  }

  .feedback-brand-copy small,
  .feedback-nav-links a:not(.back-link) {
    display: none;
  }

  .feedback-main {
    padding: 35px 17px 70px;
  }

  .feedback-intro h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .feedback-intro > p {
    font-size: 14px;
  }

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

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

  .field-full {
    grid-column: auto;
  }

  .success-state {
    min-height: 310px;
  }

  .feedback-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }
}
