:root {
  color-scheme: dark;
  --bg: #03060b;
  --surface: rgba(11, 18, 27, 0.78);
  --surface-strong: rgba(14, 23, 34, 0.9);
  --line: rgba(159, 198, 255, 0.23);
  --line-strong: rgba(202, 221, 255, 0.36);
  --text: #f4f7ff;
  --muted: #99a1b0;
  --blue: #8bbcff;
  --blue-strong: #63a0ff;
  --shadow: rgba(0, 0, 0, 0.5);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 87, 134, 0.32), transparent 36rem),
    radial-gradient(circle at 50% 92%, rgba(89, 145, 206, 0.2), transparent 24rem),
    linear-gradient(145deg, #03060b 0%, #060b12 52%, #020409 100%);
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.mini-app {
  min-height: 100svh;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: max(10px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom));
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 87, 134, 0.18), transparent 23rem),
    linear-gradient(180deg, rgba(5, 9, 15, 0.95), rgba(3, 6, 11, 0.98));
}

@media (max-width: 520px) {
  .mini-app {
    width: 100%;
    margin: 0;
  }
}

.mini-app::before {
  content: "";
  position: absolute;
  inset: 12px 0 92px;
  background:
    linear-gradient(rgba(125, 177, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 177, 255, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 42%);
  pointer-events: none;
}

.screen-content,
.bottom-nav {
  position: relative;
  z-index: 2;
}

.nav-item,
.menu-card {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.screen-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  scrollbar-width: none;
  animation: screen-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.screen-content::-webkit-scrollbar {
  display: none;
}

.hero {
  min-height: 218px;
  border: 1px solid rgba(156, 196, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 34%, rgba(92, 151, 230, 0.45), transparent 28%),
    linear-gradient(145deg, rgba(10, 18, 28, 0.92), rgba(4, 7, 12, 0.72));
  overflow: hidden;
  position: relative;
  padding: 22px 16px 14px;
  animation: card-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(143, 188, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 188, 255, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at 18% 22%, black, transparent 58%);
  pointer-events: none;
}

.hero__copy {
  width: 64%;
  position: static;
  z-index: 2;
}

.greeting,
.intro {
  position: relative;
  z-index: 2;
}

.greeting {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 650;
}

.greeting span {
  font-size: 19px;
}

.intro {
  margin: 0;
  color: #b1b8c5;
  font-size: 12.5px;
  line-height: 1.32;
}

h1 {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 10px 0 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

h1 span {
  display: block;
  color: #fff;
}

h1 {
  color: var(--blue);
}

.hero__doctor {
  position: absolute;
  right: -6px;
  bottom: -22px;
  width: 47%;
  height: 88%;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(110, 165, 240, 0.2));
  isolation: isolate;
}

.hero__doctor::before {
  display: none;
}

.hero__doctor img {
  position: absolute;
  right: -7%;
  bottom: -10%;
  width: 112%;
  height: 112%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: normal;
  animation: doctor-float 4.8s ease-in-out infinite;
  transform-origin: 60% 80%;
}

.hero__doctor::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 12, 20, 0.18), transparent 24%),
    linear-gradient(180deg, transparent 64%, rgba(4, 7, 12, 0.62) 100%);
  pointer-events: none;
}

.menu-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 15%, rgba(139, 188, 255, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(14, 24, 36, 0.9), rgba(6, 11, 18, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 13px 28px rgba(0, 0, 0, 0.2);
  animation: card-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.menu-card {
  min-height: 108px;
  width: 100%;
  display: grid;
  grid-template-columns: 76px 1fr 16px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid rgba(159, 198, 255, 0.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  animation: card-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.menu-card:last-child {
  border-bottom: 0;
}

.menu-card:nth-child(2) {
  animation-delay: 0.04s;
}

.menu-card:nth-child(3) {
  animation-delay: 0.08s;
}

.menu-card:hover,
.product-card:hover,
.profile-action:hover,
.data-item:hover {
  border-color: rgba(139, 188, 255, 0.48);
}

.product-card:hover,
.profile-action:hover,
.data-item:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

.menu-card:hover {
  background: rgba(139, 188, 255, 0.055);
}

.menu-card:active,
.product-card:active,
.profile-action:active,
.data-item:active,
.primary-button:active,
.filter-chip:active,
.icon-button:active,
.nav-item:active {
  transform: scale(0.975);
}

.menu-card__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--blue);
  overflow: hidden;
  border-radius: 18px;
  filter: drop-shadow(0 0 12px rgba(99, 160, 255, 0.28));
  transition:
    color 0.16s ease,
    transform 0.16s ease,
    filter 0.16s ease;
}

.menu-card:hover .menu-card__icon {
  filter: drop-shadow(0 0 18px rgba(99, 160, 255, 0.42));
  transform: translateY(-1px);
}

.menu-card__icon img {
  display: block;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center;
}

.menu-card svg,
.nav-item__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-card svg {
  stroke-width: 2;
}

.menu-card__copy {
  min-width: 0;
}

.menu-card__title,
.menu-card__subtitle {
  display: block;
}

.menu-card__title {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 650;
}

.menu-card__subtitle {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.34;
}

.menu-card__chevron {
  width: 11px;
  height: 11px;
  border-top: 2px solid #b8c1d1;
  border-right: 2px solid #b8c1d1;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.menu-card:hover .menu-card__chevron,
.profile-action:hover i {
  transform: translateX(2px) rotate(45deg);
}

.bottom-nav {
  height: 66px;
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 8px 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border: 1px solid rgba(117, 153, 207, 0.16);
  border-radius: 17px 17px 24px 24px;
  background: rgba(9, 15, 24, 0.93);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
  animation: nav-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.nav-item {
  min-width: 0;
  height: 52px;
  display: grid;
  place-items: center;
  gap: 3px;
  color: #8d95a4;
  padding: 0;
  border-radius: 14px;
  transition:
    color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.nav-item__icon {
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  transition: transform 0.16s ease;
}

.nav-item__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

.nav-item__icon--grid svg {
  width: 23px;
  height: 23px;
}

.nav-item__icon--heart svg {
  width: 24px;
  height: 24px;
}

.nav-item__icon--user svg {
  width: 24px;
  height: 24px;
}

.nav-item span {
  font-size: 11px;
}

.nav-item.is-active {
  color: var(--blue);
  background: rgba(139, 188, 255, 0.06);
}

.nav-item.is-active .nav-item__icon svg {
  fill: rgba(139, 188, 255, 0.3);
}

.nav-item.is-active .nav-item__icon {
  transform: translateY(-1px);
}

.screen-heading {
  padding: 4px 2px 0;
}

.screen-heading h2,
.product-detail h2,
.profile-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.screen-heading p,
.profile-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(159, 198, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 20, 31, 0.86);
  color: #a7afbd;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.filter-chip.is-active {
  border-color: rgba(139, 188, 255, 0.65);
  background: rgba(92, 151, 230, 0.2);
  color: var(--blue);
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(159, 198, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(139, 188, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(14, 24, 36, 0.96), rgba(6, 11, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 32px rgba(0, 0, 0, 0.18);
  animation: card-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.product-card:nth-child(2),
.data-item:nth-child(2) {
  animation-delay: 0.04s;
}

.product-card:nth-child(3),
.data-item:nth-child(3) {
  animation-delay: 0.08s;
}

.product-card__media,
.detail-hero {
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 35%, rgba(99, 160, 255, 0.26), transparent 56%),
    rgba(9, 15, 24, 0.9);
  overflow: hidden;
}

.product-card__media {
  display: grid;
  place-items: center;
  align-self: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(139, 188, 255, 0.16);
  background:
    linear-gradient(rgba(139, 188, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 188, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 36%, rgba(104, 166, 255, 0.24), transparent 62%),
    #0a111a;
  background-size: 13px 13px, 13px 13px, auto, auto;
  color: var(--blue);
  transition: transform 0.18s ease;
}

.product-card:hover .product-card__media {
  transform: scale(1.025);
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  min-height: 72px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    linear-gradient(rgba(139, 188, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 188, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 40%, rgba(139, 188, 255, 0.2), transparent 58%),
    #0a111b;
  background-size: 14px 14px, 14px 14px, auto, auto;
}

.product-placeholder i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 188, 255, 0.45);
  border-radius: 13px;
  background: rgba(139, 188, 255, 0.1);
  color: var(--blue);
  font-style: normal;
  font-size: 21px;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

.product-card__body {
  display: grid;
  grid-template-rows: auto auto minmax(18px, auto) 1fr;
  min-width: 0;
  padding: 2px 0;
}

.product-card__type {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: 0;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  align-self: end;
  margin-top: 10px;
  color: #8f98a8;
  font-size: 12px;
}

.product-card__footer strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.icon-button {
  align-self: start;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159, 198, 255, 0.2);
  border-radius: 12px;
  background: rgba(5, 9, 15, 0.52);
  color: #a7afbd;
  transition:
    transform 0.14s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.icon-button.is-favorite {
  border-color: rgba(139, 188, 255, 0.62);
  background: rgba(95, 158, 245, 0.18);
  color: var(--blue);
  box-shadow: 0 0 18px rgba(95, 158, 245, 0.18);
  animation: favorite-pop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
}

.icon-button.is-favorite svg {
  fill: currentColor;
}

.state-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(159, 198, 255, 0.22);
  border-radius: 16px;
  background: rgba(9, 15, 24, 0.8);
  animation: card-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.state-card strong {
  font-size: 16px;
}

.state-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.loader {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(139, 188, 255, 0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.product-detail {
  display: grid;
  gap: 10px;
}

.detail-hero {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  align-items: end;
  gap: 12px;
  position: relative;
  padding: 16px 12px 14px 16px;
  border: 1px solid rgba(159, 198, 255, 0.22);
  background:
    radial-gradient(circle at 78% 28%, rgba(88, 145, 224, 0.26), transparent 42%),
    linear-gradient(rgba(143, 188, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 188, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(15, 25, 38, 0.96), rgba(5, 9, 15, 0.94));
  background-size: auto, 16px 16px, 16px 16px, auto;
  animation: card-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.detail-hero:not(.has-image) {
  grid-template-columns: 1fr 112px;
}

.detail-hero__media {
  min-width: 0;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: end;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(139, 188, 255, 0.24);
  border-radius: 14px;
  background: rgba(7, 12, 20, 0.72);
  overflow: hidden;
}

.detail-hero__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
}

.detail-hero:not(.has-image) .product-placeholder {
  min-height: 100%;
  border-radius: 14px;
}

.detail-hero:not(.has-image) .product-placeholder i {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 30px;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.2), transparent 46%),
    linear-gradient(180deg, transparent 62%, rgba(4, 7, 12, 0.42) 100%);
  pointer-events: none;
}

.detail-hero__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.detail-hero span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-hero h2 {
  margin-top: 7px;
  font-size: 23px;
  line-height: 1.05;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.detail-hero p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.detail-hero p,
.detail-section p {
  color: #c0c7d3;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}

.detail-hero.is-long-title {
  min-height: 224px;
  grid-template-columns: minmax(0, 1fr) 124px;
}

.detail-hero.is-long-title .detail-hero__media {
  width: 124px;
  height: 124px;
}

.detail-hero.is-long-title h2 {
  font-size: 20px;
  line-height: 1.08;
}

.detail-hero.is-long-copy p {
  -webkit-line-clamp: 5;
  font-size: 12px;
  line-height: 1.38;
}

.detail-section p {
  overflow-wrap: anywhere;
}

.teaser-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(159, 198, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(88, 145, 224, 0.18), transparent 46%),
    rgba(7, 12, 20, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 28px rgba(0, 0, 0, 0.18);
  animation: card-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.teaser-media img,
.teaser-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #05080d;
}

.price-row,
.detail-list,
.detail-section,
.profile-card,
.stats-grid,
.profile-list {
  border: 1px solid rgba(159, 198, 255, 0.2);
  border-radius: 16px;
  background: rgba(9, 15, 24, 0.78);
  animation: card-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
}

.price-row strong {
  font-size: 24px;
}

.price-row span {
  color: var(--muted);
  font-size: 12px;
}

.detail-list {
  margin: 0;
  overflow: hidden;
}

.detail-list div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(159, 198, 255, 0.12);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 12px;
}

.detail-list dd {
  margin: 0;
  font-size: 13px;
}

.detail-section {
  padding: 16px;
}

.detail-section h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c0c7d3;
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
}

.primary-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #9cc8ff, #6ba7ff);
  color: #07111f;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(72, 142, 242, 0.24);
  transition:
    transform 0.14s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}

.primary-button:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(72, 142, 242, 0.32);
}

.secondary-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(139, 190, 255, 0.42);
  border-radius: 12px;
  background: rgba(120, 177, 255, 0.11);
  color: #9fc9ff;
  font-weight: 800;
}

.payment-notice {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(139, 190, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 0%, rgba(102, 163, 255, 0.16), transparent 38%),
    rgba(8, 14, 24, 0.84);
}

.payment-notice span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-notice p {
  margin: 0;
  color: #b8c2d0;
  font-size: 13px;
  line-height: 1.4;
}

.promo-card {
  padding: 16px;
  border: 1px solid rgba(159, 198, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 0%, rgba(102, 163, 255, 0.16), transparent 40%),
    rgba(8, 14, 24, 0.88);
}

.promo-form {
  display: grid;
  gap: 12px;
}

.promo-form label {
  color: #f7f9ff;
  font-size: 15px;
  font-weight: 800;
}

.promo-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(139, 188, 255, 0.28);
  border-radius: 14px;
  background: rgba(1, 7, 13, 0.72);
  color: #f8fbff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 0 14px;
  outline: none;
}

.promo-form input:focus {
  border-color: rgba(139, 188, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(116, 174, 255, 0.12);
}

.promo-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-error {
  margin: 0;
  color: #ff9ca6;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 10, 0.72);
  backdrop-filter: blur(12px);
  animation: fade-in 0.2s ease both;
}

.access-modal {
  width: min(100%, 330px);
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(139, 188, 255, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 0%, rgba(118, 174, 255, 0.18), transparent 52%),
    #0b121c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.access-modal span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-modal h2,
.access-modal p {
  margin: 0;
}

.access-modal h2 {
  font-size: 26px;
  line-height: 1.05;
}

.access-modal p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.application-form {
  display: grid;
  gap: 10px;
}

.application-form input,
.application-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(139, 188, 255, 0.24);
  border-radius: 14px;
  background: rgba(1, 7, 13, 0.72);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 13px 14px;
  outline: none;
}

.application-form textarea {
  resize: vertical;
}

.application-form input:focus,
.application-form textarea:focus {
  border-color: rgba(139, 188, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(116, 174, 255, 0.12);
}

.small-button {
  justify-self: end;
  border: 1px solid rgba(139, 188, 255, 0.42);
  border-radius: 14px;
  background: rgba(116, 174, 255, 0.12);
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
}

.data-item__status {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(139, 188, 255, 0.16);
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.stats-grid div {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(159, 198, 255, 0.12);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  font-size: 20px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 11px;
}

.profile-list {
  overflow: hidden;
}

.profile-action {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 28px 1fr 12px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(159, 198, 255, 0.12);
  background: transparent;
  text-align: left;
  transition:
    transform 0.16s ease,
    background 0.16s ease;
}

.profile-action:hover {
  background: rgba(139, 188, 255, 0.055);
}

.profile-action:last-child {
  border-bottom: 0;
}

.profile-action span {
  color: var(--blue);
}

.profile-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.profile-action i {
  width: 10px;
  height: 10px;
  border-top: 2px solid #9ea7b6;
  border-right: 2px solid #9ea7b6;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.data-list {
  display: grid;
  gap: 10px;
}

.data-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(159, 198, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(139, 188, 255, 0.08), transparent 42%),
    rgba(9, 15, 24, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: card-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.data-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
}

.data-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.data-item strong {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

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

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes favorite-pop {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes doctor-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

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

  .hero__copy {
    width: 64%;
  }

  .hero__doctor {
    right: -8px;
    width: 47%;
  }

  h1 {
    width: 100%;
    font-size: clamp(27px, 7.4vw, 29px);
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 206px;
    padding-top: 18px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr) 108px;
    min-height: 174px;
    gap: 10px;
    padding: 14px 10px 12px 14px;
  }

  .detail-hero__media {
    width: 108px;
    height: 108px;
  }

  .detail-hero.is-long-title {
    min-height: 220px;
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .detail-hero.is-long-title .detail-hero__media {
    width: 96px;
    height: 96px;
  }

  .detail-hero.is-long-title h2 {
    font-size: 19px;
  }

  .detail-hero h2 {
    font-size: 21px;
  }

  .greeting {
    font-size: 18px;
  }

  .intro {
    font-size: 12px;
  }

  .menu-card {
    min-height: 104px;
    grid-template-columns: 68px 1fr 16px;
    gap: 14px;
    padding: 16px 14px;
  }

  .menu-card__icon {
    width: 66px;
    height: 66px;
    border-radius: 17px;
  }

  .menu-card__icon img {
    width: 66px;
    height: 66px;
    border-radius: 17px;
  }

  .menu-card__title {
    font-size: 17px;
  }

  .menu-card__subtitle {
    font-size: 12px;
    line-height: 1.28;
  }
}
