:root {
  --pv-header-h: 58px;
  --pv-header-bg: rgba(11, 13, 18, 0.92);
  --pv-header-border: rgba(255, 138, 0, 0.10);

  --pv-panel: #131722;
  --pv-panel-2: #10141d;
  --pv-panel-3: #0f131c;
  --pv-panel-border: rgba(255, 255, 255, 0.06);

  --pv-text: rgba(255, 255, 255, 0.94);
  --pv-text-2: rgba(255, 255, 255, 0.72);
  --pv-text-3: rgba(255, 255, 255, 0.50);

  --pv-accent: #ff8a00;
  --pv-accent-2: #ffb347;
  --pv-accent-3: #ff7a18;
  --pv-accent-soft: rgba(255, 138, 0, 0.12);
  --pv-accent-soft-2: rgba(255, 138, 0, 0.08);
  --pv-accent-line: rgba(255, 138, 0, 0.22);
  --pv-accent-line-strong: rgba(255, 138, 0, 0.95);

  --pv-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  --pv-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.28);

  --pv-radius-sm: 10px;
  --pv-radius-md: 14px;
  --pv-radius-lg: 18px;
  --pv-radius-xl: 22px;

  --pv-container: 1360px;
  --pv-speed: 160ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.pv-header {
  position: fixed;
  top: 0;
  z-index: 1200;
  width: 100%;
  background: var(--pv-header-bg);
  border-bottom: 1px solid var(--pv-header-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pv-header__inner {
  max-width: var(--pv-container);
  min-height: var(--pv-header-h);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}


.pv-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.pv-brand:hover {
  text-decoration: none;
}

.pv-brand__logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 138, 0, 0.22),
    0 8px 18px rgba(255, 138, 0, 0.16);
}

.pv-brand__wordmark {
  color: var(--pv-accent);
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(255, 138, 0, 0.16),
    0 0 1px rgba(255, 138, 0, 0.32);
}


.pv-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.pv-navItem {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.pv-navTrigger {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pv-text);
  cursor: pointer;
  text-decoration: none;

  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;

  transition:
    color var(--pv-speed),
    background var(--pv-speed),
    box-shadow var(--pv-speed);
}

.pv-navTrigger::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pv-accent-2) 0%, var(--pv-accent) 100%);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.25);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition:
    opacity var(--pv-speed),
    transform var(--pv-speed);
}

.pv-navTrigger:hover,
.pv-navTrigger:focus-visible,
.pv-navItem.is-open > .pv-navTrigger {
  color: var(--pv-accent);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.pv-navTrigger:hover::after,
.pv-navTrigger:focus-visible::after,
.pv-navItem.is-open > .pv-navTrigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.pv-navChevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  color: var(--pv-text-3);
  transform: translateY(1px);
  transition: transform var(--pv-speed), color var(--pv-speed);
}

.pv-navItem.is-open .pv-navChevron,
.pv-navTrigger:hover .pv-navChevron,
.pv-navTrigger:focus-visible .pv-navChevron {
  color: var(--pv-accent);
}

.pv-navItem.is-open .pv-navChevron {
  transform: translateY(1px) rotate(180deg);
}

.pv-navLink {
  text-decoration: none;
}

.pv-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pv-header__cta {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #16110a;
  background: linear-gradient(180deg, var(--pv-accent-2) 0%, var(--pv-accent-3) 100%);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 8px 18px rgba(255, 138, 0, 0.20);

  transition:
    transform var(--pv-speed),
    filter var(--pv-speed),
    box-shadow var(--pv-speed);
}

.pv-header__cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(255, 138, 0, 0.24);
}

.pv-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pv-panel-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.pv-burger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pv-burger__line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.pv-mega {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1500;

  min-width: 370px;
  max-width: min(460px, calc(100vw - 24px));
  padding: 10px;

  border: 1px solid var(--pv-panel-border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(18, 22, 31, 0.985) 0%, rgba(14, 18, 27, 0.985) 100%);
  box-shadow: var(--pv-shadow);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity var(--pv-speed),
    visibility var(--pv-speed),
    transform var(--pv-speed);
}

.pv-navItem.is-open > .pv-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pv-megaGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.pv-megaCol {
  min-width: 0;
}

.pv-megaLabel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 6px 8px;
  color: var(--pv-text-3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pv-megaLabel::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.pv-megaLink {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;

  padding: 10px 14px 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;

  transition:
    background var(--pv-speed),
    border-color var(--pv-speed),
    transform var(--pv-speed),
    box-shadow var(--pv-speed);
}

.pv-megaLink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pv-accent-2) 0%, var(--pv-accent) 100%);
  opacity: 0;
  transform: scaleY(0.45);
  transform-origin: center;
  transition:
    opacity var(--pv-speed),
    transform var(--pv-speed);
}

.pv-megaLink:hover,
.pv-megaLink:focus-visible {
  text-decoration: none;
  background: var(--pv-accent-soft-2);
  border-color: rgba(255, 138, 0, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.pv-megaLink:hover::before,
.pv-megaLink:focus-visible::before,
.pv-megaLink--primary::before {
  opacity: 1;
  transform: scaleY(1);
}

.pv-megaLink--primary {
  background: rgba(255, 138, 0, 0.07);
  border-color: rgba(255, 138, 0, 0.14);
}

.pv-megaLink b {
  display: block;
  color: var(--pv-text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--pv-speed);
}

.pv-megaLink:hover b,
.pv-megaLink:focus-visible b,
.pv-megaLink--primary b {
  color: var(--pv-accent);
}

.pv-megaLink b::after {
  content: none;
}

.pv-megaLink span {
  display: block;
  margin-top: 4px;
  color: var(--pv-text-3);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color var(--pv-speed);
}

.pv-megaLink:hover span,
.pv-megaLink:focus-visible span {
  color: rgba(255, 255, 255, 0.76);
}

.pv-megaLink + .pv-megaLink {
  margin-top: 2px;
}

.pv-brand:focus-visible,
.pv-navTrigger:focus-visible,
.pv-megaLink:focus-visible,
.pv-header__cta:focus-visible,
.pv-burger:focus-visible,
.pv-drawer__close:focus-visible,
.pv-drawerSection__toggle:focus-visible,
.pv-drawerSection__direct:focus-visible,
.pv-drawerLink:focus-visible,
.pv-drawer__cta:focus-visible {
  outline: 2px solid rgba(255, 138, 0, 0.95);
  outline-offset: 2px;
}

.pv-drawerBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1390;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pv-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1400;
  width: min(400px, 92vw);
  height: 100dvh;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(180deg, #121722 0%, #0f141d 100%);
  border-left: 1px solid var(--pv-panel-border);
  box-shadow: -20px 0 48px rgba(0, 0, 0, 0.46);

  transform: translateX(100%);
  transition: transform 200ms ease;
}

.pv-drawer.is-open {
  transform: translateX(0);
}

.pv-drawer__head {
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-drawer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pv-drawer__brandLogo {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.pv-drawer__brandText {
  color: var(--pv-accent);
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255, 138, 0, 0.18);
}

.pv-drawer__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--pv-panel-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--pv-text);
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.pv-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.pv-drawerSection {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  border-radius: 14px;
  overflow: hidden;
}

.pv-drawerSection + .pv-drawerSection {
  margin-top: 10px;
}

.pv-drawerSection__toggle {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  appearance: none;
  border: 0;
  background: transparent;
  color: var(--pv-text);
  cursor: pointer;

  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.pv-drawerSection__chevron {
  font-size: 11px;
  color: var(--pv-text-3);
  transition: transform var(--pv-speed);
}

.pv-drawerSection.is-open .pv-drawerSection__chevron {
  transform: rotate(180deg);
}

.pv-drawerSection__panel {
  padding: 0 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-drawerSection__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 6px 8px;
  color: var(--pv-text-3);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pv-drawerSection__label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.pv-drawerLink {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;

  padding: 10px 12px 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition:
    background var(--pv-speed),
    border-color var(--pv-speed),
    box-shadow var(--pv-speed);
}

.pv-drawerLink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pv-accent-2) 0%, var(--pv-accent) 100%);
  opacity: 0;
  transform: scaleY(0.45);
  transform-origin: center;
  transition:
    opacity var(--pv-speed),
    transform var(--pv-speed);
}

.pv-drawerLink:hover,
.pv-drawerLink:focus-visible {
  text-decoration: none;
  background: var(--pv-accent-soft-2);
  border-color: rgba(255, 138, 0, 0.14);
}

.pv-drawerLink:hover::before,
.pv-drawerLink:focus-visible::before,
.pv-drawerLink--primary::before {
  opacity: 1;
  transform: scaleY(1);
}

.pv-drawerLink--primary {
  background: rgba(255, 138, 0, 0.07);
  border-color: rgba(255, 138, 0, 0.14);
}

.pv-drawerLink__title {
  display: block;
  color: var(--pv-text);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  transition: color var(--pv-speed);
}

.pv-drawerLink:hover .pv-drawerLink__title,
.pv-drawerLink:focus-visible .pv-drawerLink__title,
.pv-drawerLink--primary .pv-drawerLink__title {
  color: var(--pv-accent);
}

.pv-drawerLink__title::after {
  content: none;
}

.pv-drawerLink__desc {
  display: block;
  margin-top: 4px;
  color: var(--pv-text-3);
  font-size: 11px;
  line-height: 1.35;
  transition: color var(--pv-speed);
}

.pv-drawerLink:hover .pv-drawerLink__desc,
.pv-drawerLink:focus-visible .pv-drawerLink__desc {
  color: rgba(255, 255, 255, 0.76);
}

.pv-drawerSection--link {
  padding: 0;
}

.pv-drawerSection__direct {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--pv-text);
  font-size: 14px;
  font-weight: 700;
}

.pv-drawerSection__direct:hover {
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
}

.pv-drawerSection__direct:hover,
.pv-drawerSection__direct:focus-visible {
  color: var(--pv-accent);
}

.pv-drawer__footer {
  flex: 0 0 auto;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-drawer__cta {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #16110a;
  background: linear-gradient(180deg, var(--pv-accent-2) 0%, var(--pv-accent-3) 100%);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(255,138,0,0.18);
}

.pv-drawer__cta:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.pv-drawer__body::-webkit-scrollbar {
  width: 8px;
}

.pv-drawer__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.pv-drawer__body::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 1080px) {
  .pv-header__inner {
    padding: 0 16px;
  }

  .pv-nav {
    gap: 0;
  }

  .pv-navTrigger {
    padding: 0 8px;
    font-size: 13px;
  }

  .pv-header__cta {
    padding: 0 12px;
  }
}

@media (max-width: 980px) {
  .pv-nav,
  .pv-header__cta {
    display: none;
  }

   .pv-header__actions {
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }


  .pv-burger {
    display: inline-flex;
    margin-left: 0;
  }

  .pv-header__inner {
    min-height: 56px;
    padding: 0 14px;
  }

  .pv-brand__wordmark {
    font-size: 18px;
    letter-spacing: 0.018em;
  }
}

@media (max-width: 640px) {
  .pv-brand__logo {
    width: 36px;
    height: 36px;
  }

  .pv-brand__wordmark {
    font-size: 16px;
    letter-spacing: 0.015em;
  }

  .pv-drawer {
    width: min(380px, 94vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-navTrigger,
  .pv-navChevron,
  .pv-mega,
  .pv-megaLink,
  .pv-header__cta,
  .pv-drawer,
  .pv-drawerSection__chevron,
  .pv-drawerLink,
  .pv-drawerSection__direct,
  .pv-drawer__cta {
    transition: none !important;
  }
}
