:root {
  --bg: #05070c;
  --panel: rgba(18, 24, 39, 0.82);
  --panel-2: #101622;
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.62);
  --line: rgba(244, 247, 255, 0.14);
  --blue: #2f6bff;
  --cyan: #00e5ff;
  --acid: #c8ff00;
  --hot: #ff3d81;
  --ink: #05070c;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(47, 107, 255, 0.32), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(255, 61, 129, 0.16), transparent 28%),
    linear-gradient(135deg, #05070c 0%, #090d16 56%, #05070c 100%);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(244, 247, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

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

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

.app {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px clamp(16px, 4vw, 28px) 104px;
}

.hero {
  min-height: min(860px, 100svh);
  display: grid;
  align-content: stretch;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.brand {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.topbar div {
  display: inline-flex;
  gap: 4px;
  border-radius: 999px;
  padding: 4px;
  background: rgba(244, 247, 255, 0.08);
}

.topbar div a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(244, 247, 255, 0.74);
  font-size: 14px;
  font-weight: 850;
}

.topbar div a:hover,
.topbar div a:focus-visible {
  background: var(--text);
  color: var(--bg);
  outline: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding: clamp(54px, 9vw, 110px) 0 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(50px, 8vw, 96px);
  font-weight: 950;
}

h2 {
  font-size: clamp(30px, 4.8vw, 58px);
  font-weight: 930;
}

.hero-copy > p:not(.eyebrow),
.section-title p,
.tip {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.85;
}

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

.primary,
.ghost,
.submit,
.actions button,
.actions a {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.primary,
.submit,
.actions button {
  border: 0;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(200, 255, 0, 0.18);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(200, 255, 0, 0.42);
  animation: pulse-ring 1.8s ease-out infinite;
}

.ghost,
.actions a {
  border: 1px solid var(--line);
  background: rgba(244, 247, 255, 0.06);
  color: var(--text);
}

.primary:hover,
.ghost:hover,
.submit:hover,
.actions button:hover,
.actions a:hover,
.primary:focus-visible,
.ghost:focus-visible,
.submit:focus-visible,
.actions button:focus-visible,
.actions a:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.primary:hover,
.submit:hover,
.actions button:hover {
  box-shadow: 0 22px 80px rgba(200, 255, 0, 0.25);
}

.audit-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(244, 247, 255, 0.08), rgba(244, 247, 255, 0.03)),
    var(--panel);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.audit-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 255, 0, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(47, 107, 255, 0.88), rgba(9, 13, 22, 0.86));
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.audit-card:hover {
  transform: translateY(-4px) rotateX(1deg);
  border-color: rgba(200, 255, 0, 0.42);
  box-shadow: 0 34px 120px rgba(47, 107, 255, 0.25);
}

.audit-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(244, 247, 255, 0.18);
  border-radius: 18px;
}

.audit-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(244, 247, 255, 0.18);
  border-radius: 50%;
}

.audit-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.audit-head,
.audit-focus,
.audit-report {
  position: relative;
  z-index: 2;
}

.audit-head {
  display: flex;
  justify-content: space-between;
  color: rgba(244, 247, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-head strong {
  color: var(--acid);
  font-size: 28px;
  line-height: 1;
}

.audit-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 96px;
}

.audit-focus b {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 247, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 7, 12, 0.36);
  font-size: 34px;
}

.audit-focus b:nth-child(2),
.audit-focus b:nth-child(4) {
  color: var(--acid);
}

.audit-report {
  margin-top: 18px;
  border: 1px solid rgba(244, 247, 255, 0.18);
  border-radius: 18px;
  padding: 20px;
  background: rgba(5, 7, 12, 0.52);
}

.audit-report span {
  color: rgba(244, 247, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.audit-report strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
}

.strip {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  overflow: hidden;
  margin: 0;
  transform: translateX(-50%);
  background: var(--acid);
  color: var(--ink);
}

.strip span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(28px, 6vw, 70px);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 950;
  white-space: nowrap;
}

.strip span:nth-child(2n) {
  color: var(--blue);
}

.panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 42px);
}

.section-title {
  margin-bottom: clamp(22px, 4vw, 40px);
}

.section-title p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
}

.scope-grid,
.plan-grid,
.process ol {
  display: grid;
  gap: 14px;
}

.scope-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scope article,
.plan,
.process li {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(244, 247, 255, 0.045);
}

.scope article {
  min-height: 220px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.scope article::after,
.process li::after,
.plan::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(244, 247, 255, 0.12);
  border-radius: 50%;
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.scope article:hover,
.process li:hover,
.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 255, 0, 0.48);
  background: rgba(244, 247, 255, 0.07);
}

.scope article:hover::after,
.process li:hover::after,
.plan:hover::after {
  transform: translate(-12px, -12px);
  border-color: rgba(200, 255, 0, 0.46);
}

.scope article span,
.plan span,
.process li span {
  color: var(--acid);
  font-size: 13px;
  font-weight: 950;
}

.scope article strong,
.plan strong,
.process li strong {
  display: block;
  margin-top: 42px;
  font-size: 25px;
  line-height: 1.18;
}

.scope article p,
.plan small,
.process small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 20px 20px 20px 52px;
  cursor: pointer;
  overflow: hidden;
}

.plan input {
  position: absolute;
  left: 20px;
  top: 24px;
  accent-color: var(--acid);
}

.plan.active {
  border-color: rgba(200, 255, 0, 0.7);
  background: rgba(200, 255, 0, 0.08);
}

.plan strong {
  margin-top: 34px;
  font-size: 34px;
}

.process ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
}

.form {
  display: grid;
  gap: 18px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

label span,
legend {
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 7, 12, 0.72);
  color: var(--text);
  padding: 14px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.12);
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.checks label {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 10px;
  background: rgba(244, 247, 255, 0.045);
  color: var(--text);
  font-size: 14px;
}

.checks input {
  width: auto;
  accent-color: var(--acid);
}

.result textarea {
  margin-top: 10px;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.float-cta:hover,
.float-cta:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(200, 255, 0, 0.22);
}

@keyframes pulse-ring {
  0% {
    opacity: 0.42;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .audit-card {
    min-height: 420px;
  }

  .scope-grid,
  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .app {
    padding-inline: 14px;
  }

  .topbar div a {
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.8;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-actions a,
  .submit,
  .actions button,
  .actions a {
    width: 100%;
  }

  .audit-card {
    min-height: 360px;
    padding: 22px;
  }

  .audit-focus {
    margin-top: 74px;
  }

  .audit-focus b {
    min-height: 74px;
    font-size: 28px;
  }

  .audit-report strong {
    font-size: 22px;
  }

  .strip span {
    min-height: 50px;
    padding-inline: 24px;
    font-size: 24px;
  }

  .scope-grid,
  .process ol,
  .checks {
    grid-template-columns: 1fr;
  }

  .scope article,
  .process li,
  .plan {
    min-height: auto;
  }

  .scope article strong,
  .process li strong {
    margin-top: 26px;
  }

  .float-cta {
    left: 14px;
    right: 14px;
  }
}

@media (max-width: 420px) {
  .topbar {
    min-height: 54px;
    padding-left: 10px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 40px;
  }

  .audit-card {
    min-height: 336px;
    border-radius: 20px;
    padding: 18px;
  }

  .audit-card::before {
    inset: 16px;
  }

  .audit-focus {
    gap: 8px;
    margin-top: 64px;
  }

  .audit-focus b {
    min-height: 66px;
    border-radius: 14px;
    font-size: 24px;
  }

  .panel {
    border-radius: 20px;
  }

  .scope article strong,
  .plan strong,
  .process li strong {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
