.profile-shell {
  padding: 54px 0 88px;
}

.demo-banner {
  margin-bottom: 16px;
  border: 1px solid rgba(240, 197, 107, 0.25);
  border-radius: 12px;
  padding: 11px 14px;
  background: rgba(240, 197, 107, 0.06);
  color: #e7ce9b;
  font-size: 0.76rem;
}

.profile-hero {
  display: grid;
  overflow: hidden;
  min-height: 520px;
  grid-template-columns: 0.88fr 1.12fr;
}

.profile-identity {
  position: relative;
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding: 42px;
  background:
    radial-gradient(circle at 20% 12%, rgba(107, 245, 255, 0.15), transparent 38%),
    #091113;
}

.profile-identity::before {
  position: absolute;
  inset: 28px;
  opacity: 0.18;
  background-image: radial-gradient(circle, var(--cyan) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 64%);
  content: "";
}

.profile-identity > * {
  position: relative;
}

.profile-logo {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin-bottom: auto;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  color: var(--cyan);
  background: rgba(107, 245, 255, 0.04);
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.profile-identity h1 {
  max-width: 560px;
  margin: 20px 0 12px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.profile-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 52% 44%, rgba(90, 159, 255, 0.23), transparent 20rem),
    linear-gradient(140deg, #0c1719, #071012 60%, #0a1415);
}

.profile-visual::before,
.profile-visual::after {
  position: absolute;
  content: "";
}

.profile-visual::before {
  width: 380px;
  height: 380px;
  border: 1px solid rgba(107, 245, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(107, 245, 255, 0.015),
    0 0 0 110px rgba(107, 245, 255, 0.01);
}

.profile-visual::after {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line-strong);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(107, 245, 255, 0.17), rgba(90, 159, 255, 0.04)),
    #0b1517;
  box-shadow: 0 0 90px rgba(43, 217, 207, 0.14);
  transform: rotate(45deg);
}

.visual-core {
  position: relative;
  z-index: 2;
  text-align: center;
}

.visual-core strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: -0.045em;
}

.visual-core span {
  color: var(--cyan);
  font: 0.72rem ui-monospace, monospace;
}

.profile-nav {
  position: sticky;
  z-index: 30;
  top: 74px;
  overflow-x: auto;
  display: flex;
  gap: 24px;
  margin: 16px 0 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  background: rgba(7, 13, 14, 0.94);
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
  backdrop-filter: blur(18px);
}

.profile-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 16px;
}

.profile-sidebar,
.profile-main {
  display: grid;
  gap: 16px;
}

.profile-card {
  padding: 24px;
}

.profile-card h2 {
  margin-bottom: 22px;
  font-size: 1.4rem;
}

.fact-list {
  display: grid;
  gap: 0;
}

.fact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 0.8rem;
}

.fact:first-child {
  border-top: 0;
}

.fact span:first-child {
  color: var(--muted);
}

.fact strong {
  text-align: right;
  font-size: 0.78rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.capability {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.capability strong {
  font-size: 0.86rem;
}

.capability p {
  margin: 0;
  font-size: 0.72rem;
}

.proof-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.proof-table th,
.proof-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
}

.proof-table th {
  color: var(--muted-2);
  font-weight: 700;
}

.proof-table td {
  color: #d6e1e2;
}

.action-list {
  display: grid;
  gap: 10px;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.018);
}

.action-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 920px) {
  .profile-hero,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .profile-shell {
    padding-top: 26px;
  }

  .profile-identity {
    min-height: 480px;
    padding: 28px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 19px;
  }

  .proof-table {
    display: block;
    overflow-x: auto;
  }
}
