* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #030504;
  --card: rgba(8, 13, 10, 0.78);
  --green: #44ef98;
  --green-soft: rgba(68, 239, 152, 0.13);
  --text: #f1f6f3;
  --muted: rgba(241, 246, 243, 0.55);
  --border: rgba(255, 255, 255, 0.075);
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 50% -10%, #10291d 0%, #050907 32%, #020403 70%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(66, 239, 151, 0.07),
    transparent 28%
  );
  z-index: 2;
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 15%, transparent 74%);
  pointer-events: none;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  background: #35e68e;
  pointer-events: none;
}

.ambient-one {
  top: -180px;
  left: -120px;
}

.ambient-two {
  bottom: -220px;
  right: -120px;
  opacity: .08;
}

.page-shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.profile-card {
  width: 100%;
  max-width: 590px;
  padding: 44px 42px 30px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.012)
    ),
    var(--card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow:
    0 40px 120px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.05);
  animation: reveal .9s ease both;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(68,239,152,.13);
  background: rgba(68,239,152,.05);
  color: rgba(116,255,177,.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse 1.7s infinite;
}

.avatar-system {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 32px auto 26px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(68,239,152,.15);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.orbit-one {
  inset: 0;
  border-style: dashed;
  animation: rotate 16s linear infinite;
}

.orbit-one::before {
  top: -3px;
  left: 50%;
}

.orbit-one::after {
  bottom: -3px;
  left: 50%;
}

.orbit-two {
  inset: 13px;
  border-color: rgba(255,255,255,.08);
  animation: rotateReverse 12s linear infinite;
}

.orbit-two::before {
  left: -3px;
  top: 50%;
}

.orbit-two::after {
  right: -3px;
  top: 50%;
}

.avatar-wrap {
  position: relative;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(68,239,152,.22),
    0 0 45px rgba(48,224,137,.12),
    0 22px 50px rgba(0,0,0,.38);
}

.bot-avatar {
  width: 100%;
  height: 100%;
  display: block;
}

.scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(73,255,159,.85),
    transparent
  );
  box-shadow: 0 0 10px rgba(73,255,159,.65);
  animation: scan 4s ease-in-out infinite;
}

.identity .eyebrow {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .21em;
}

.identity h1 {
  margin-top: 8px;
  font-size: clamp(43px, 10vw, 62px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
}

.identity h2 {
  margin-top: 13px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(240,248,243,.84);
}

.identity p {
  max-width: 470px;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.identity .secondary-copy {
  margin-top: 8px;
  color: rgba(241,246,243,.38);
}

.system-stats {
  margin: 27px 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 15px 8px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 18px;
  background: rgba(0,0,0,.15);
}

.stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.stat-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(68,239,152,.75);
  box-shadow: 0 0 10px rgba(68,239,152,.5);
}

.stat small {
  display: block;
  text-align: left;
  font-size: 9px;
  color: rgba(255,255,255,.3);
  margin-bottom: 2px;
}

.stat strong {
  display: block;
  text-align: left;
  font-size: 11px;
  color: rgba(255,255,255,.75);
  font-weight: 600;
}

.divider {
  width: 1px;
  background: rgba(255,255,255,.06);
}

.cta-button {
  position: relative;
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-decoration: none;
  color: #031009;
  background: linear-gradient(135deg, #63f5aa, #35df8a);
  font-size: 14px;
  font-weight: 800;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(52,221,136,.13);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 90%;
  height: 100%;
  transform: skewX(-25deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.38),
    transparent
  );
  animation: buttonShine 4s infinite;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(52,221,136,.22);
}

.cta-button svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.cta-button:hover svg {
  transform: translateX(3px);
}

.secure-note {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: rgba(255,255,255,.31);
}

.secure-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(68,239,152,.65);
}

.risk-note {
  margin: 22px auto 0;
  max-width: 430px;
  font-size: 9px;
  line-height: 1.6;
  color: rgba(255,255,255,.2);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes scan {
  0%, 100% {
    top: 14%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    top: 86%;
  }
}

@keyframes buttonShine {
  0%, 65% {
    left: -120%;
  }

  100% {
    left: 150%;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 18px 14px;
  }

  .profile-card {
    padding: 30px 20px 24px;
    border-radius: 27px;
  }

  .avatar-system {
    width: 165px;
    height: 165px;
    margin-top: 27px;
  }

  .avatar-wrap {
    width: 128px;
    height: 128px;
  }

  .identity h2 {
    font-size: 14px;
  }

  .identity p {
    font-size: 13px;
  }

  .system-stats {
    margin: 24px 0;
  }

  .stat {
    gap: 6px;
  }

  .stat-icon {
    display: none;
  }

  .stat small,
  .stat strong {
    text-align: center;
  }
}

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