.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(86, 91, 216, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand__text small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: rgba(237, 245, 255, 0.82);
}

.nav a[aria-current="page"] {
  color: #fff;
}

.header-action,
.btn,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-action,
.btn--primary,
.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 18px 34px rgba(25, 118, 255, 0.24);
}

.header-action,
.btn,
.cta-button {
  min-height: 46px;
  padding: 0 20px;
}

.header-action {
  min-width: 132px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 30px rgba(47, 49, 145, 0.18);
  color: #f8fbff;
}

.header-action svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.header-action:hover,
.cta-button:hover {
  transform: translateY(-1px);
}

.header-action:hover {
  background: linear-gradient(135deg, rgba(101, 208, 255, 0.32), rgba(133, 118, 255, 0.3), rgba(217, 126, 255, 0.28));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 34px rgba(86, 92, 214, 0.24);
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(125, 195, 255, 0.2), rgba(208, 134, 255, 0.18));
  color: #f7fbff;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 34px rgba(77, 65, 191, 0.2);
}

.icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-panel,
.footer-panel {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(14px);
}

.cta-panel,
.footer-panel {
  padding: 30px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  padding: 22px 0 36px;
}

.footer-panel {
  position: relative;
  overflow: hidden;
}

.footer-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.footer-brand {
  padding-right: 12px;
}

.footer-brand p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-col {
  display: grid;
  gap: 12px;
}

.footer-col strong {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer-col a,
.footer-col span {
  display: block;
  padding-left: 2px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(237, 245, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.footer-col a,
.footer-brand .brand__text {
  transition: background 0.22s ease, color 0.22s ease, -webkit-text-fill-color 0.22s ease;
}

.footer-col a:hover,
.footer-brand:hover .brand__text {
  background: linear-gradient(135deg, #ffd6f3 0%, #d7b8ff 48%, #9bddff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 780px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .cta-panel,
  .footer-panel {
    padding: 22px;
  }
}
