@import url("/assets/common/css/font.min.css");

/* Product detail */
.product-page {
  min-height: 70vh;
  padding: 26px clamp(20px, 3vw, 56px) 96px;
  background: var(--pilot-canvas);
}

.product-breadcrumbs {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.product-breadcrumbs a {
  color: var(--pilot-text-secondary);
}

.product-breadcrumbs a:hover,
.product-breadcrumbs a:focus-visible {
  color: var(--pilot-brand-strong);
}

.product-breadcrumbs i {
  font-size: 8px;
}

.product-overview {
  min-height: 460px;
  margin-top: 12px;
  padding: 22px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(420px, 0.75fr) minmax(0, 1.35fr);
  gap: 40px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pilot-card-shadow);
}

.product-visual-stage {
  min-width: 0;
  min-height: 416px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(247, 249, 253, 0.96);
}

.product-main-image {
  width: min(52%, 310px);
  height: auto;
  max-height: 310px;
  object-fit: contain;
}

.product-visual-stage > span {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(79, 104, 156, 0.12);
  border-radius: 999px;
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.product-summary-panel {
  min-width: 0;
  padding: 18px 16px 8px;
}

.product-eyebrow {
  margin: 0 0 10px;
  color: var(--pilot-brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.product-summary-panel h1 {
  max-width: 920px;
  margin: 0;
  color: var(--pilot-text);
  font-size: clamp(27px, 2vw, 35px);
  line-height: 1.34;
  letter-spacing: -0.025em;
}

.product-status-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-status-row > span {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.product-status-row > span > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  background: #35c79a;
  box-shadow: 0 0 0 4px rgba(53, 199, 154, 0.1);
}

.product-status-row strong {
  color: var(--pilot-text);
  font-weight: 700;
}

.product-purchase-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 14px;
}

.product-quantity-field,
.product-total {
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.product-quantity-field label,
.product-total > span {
  display: block;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.product-quantity-field > div {
  width: 170px;
  height: 40px;
  margin-top: 7px;
  border: 1px solid rgba(79, 104, 156, 0.14);
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  background: #ffffff;
}

.product-quantity-field button {
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--pilot-brand);
  cursor: pointer;
}

.product-quantity-field button:first-child {
  border-right: 1px solid rgba(79, 104, 156, 0.12);
}

.product-quantity-field button:last-child {
  border-left: 1px solid rgba(79, 104, 156, 0.12);
}

.product-quantity-field button:disabled {
  color: var(--pilot-text-tertiary);
  cursor: not-allowed;
  opacity: 0.7;
}

.product-quantity-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pilot-text);
  font-weight: 700;
  text-align: center;
  appearance: textfield;
}

.product-quantity-field input::-webkit-inner-spin-button,
.product-quantity-field input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-total strong {
  margin-top: 5px;
  color: var(--pilot-brand-strong);
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.product-total small {
  font-size: 13px;
}

.product-payment-row {
  min-height: 62px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(246, 248, 252, 0.82);
}

.product-payment-row > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.product-payment-row > div > i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
  font-size: 14px;
}

.product-payment-row > div > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-payment-row strong {
  color: var(--pilot-text);
  font-size: 13px;
}

.product-payment-row small {
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.product-payment-row > span {
  color: var(--pilot-text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

.product-buy-panel {
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.product-buy-panel > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-buy-panel > div strong {
  color: var(--pilot-text);
  font-size: 15px;
}

.product-buy-panel > div span {
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.product-buy-panel > a {
  min-width: 152px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--pilot-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(79, 104, 255, 0.19);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-buy-panel > a:hover,
.product-buy-panel > a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(79, 104, 255, 0.24);
}

.product-policy-note {
  margin: 12px 0 0;
  padding: 10px 13px;
  border: 1px solid #f2dca8;
  border-radius: 10px;
  background: #fff9ea;
  color: #946f24;
  font-size: 12px;
  line-height: 19px;
}

.product-policy-note a {
  color: var(--pilot-brand-strong);
  font-weight: 600;
}

.product-policy-note a:hover,
.product-policy-note a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#product-information {
  scroll-margin-top: 96px;
}

.product-information {
  margin-top: 24px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.product-detail-tabs {
  --product-tab-left: 22px;
  --product-tab-width: 116px;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(79, 104, 156, 0.11);
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-detail-tabs::-webkit-scrollbar {
  display: none;
}

.product-detail-tabs button {
  min-width: max-content;
  padding: 0 14px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--pilot-text-secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.product-detail-tabs button:hover,
.product-detail-tabs button:focus-visible {
  background: rgba(79, 104, 255, 0.045);
  color: var(--pilot-brand-strong);
}

.product-detail-tabs button.is-active {
  color: var(--pilot-brand-strong);
}

.product-tab-indicator {
  width: var(--product-tab-width);
  height: 3px;
  border-radius: 999px 999px 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: var(--pilot-brand);
  transform: translateX(var(--product-tab-left));
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.product-detail-tabs button i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f1f3f7;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.product-detail-tabs button.is-active i {
  background: var(--pilot-brand);
  color: #ffffff;
}

.product-detail-panel {
  min-height: 250px;
  padding: 28px 34px 34px;
  outline: 0;
  overflow: hidden;
}

.product-tab-slide.from-right {
  animation: product-tab-slide-from-right 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-tab-slide.from-left {
  animation: product-tab-slide-from-left 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes product-tab-slide-from-right {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes product-tab-slide-from-left {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

.product-rich-content {
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 1.85;
}

.product-rich-content p {
  margin: 0;
}

.product-rich-content p + p,
.product-rich-content figure {
  margin-top: 14px;
}

.product-rich-content figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.product-rich-content img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 14px;
  display: block;
}

.product-rich-content figcaption {
  margin-top: 7px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  text-align: center;
}

.product-tab-notes {
  margin: 0;
  padding-left: 22px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 1.85;
}

.product-tab-notes li + li {
  margin-top: 8px;
}

.product-related header h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 24px;
  line-height: 1.25;
}

.product-related {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.product-related > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.product-related > header > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pilot-brand-strong);
  font-size: 13px;
  font-weight: 600;
}

.product-related-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-related-grid > a {
  min-width: 0;
  min-height: 96px;
  padding: 15px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-related-grid > a:hover,
.product-related-grid > a:focus-visible {
  border-color: rgba(79, 104, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(42, 67, 112, 0.08);
}

.product-related-grid > a > span {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(244, 248, 255, 0.92);
}

.product-related-grid img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.product-related-grid h3 {
  margin: 0;
  overflow: hidden;
  color: var(--pilot-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-related-grid p {
  margin: 5px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 11px;
}

.product-related-grid > a > strong {
  color: var(--pilot-brand-strong);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.product-related-grid > a > strong small {
  margin-right: 2px;
  font-size: 11px;
}

.product-unavailable {
  min-height: 520px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.product-unavailable > i {
  color: var(--pilot-brand);
  font-size: 34px;
}

.product-unavailable h1 {
  margin: 18px 0 8px;
  color: var(--pilot-text);
}

.product-unavailable p {
  margin: 0 0 20px;
  color: var(--pilot-text-secondary);
}

.product-unavailable a {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: var(--pilot-brand);
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .product-overview {
    grid-template-columns: minmax(320px, 0.75fr) minmax(440px, 1.25fr);
    gap: 24px;
  }

  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .product-page {
    padding-top: 22px;
    padding-bottom: 72px;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-visual-stage {
    min-height: 340px;
  }

  .product-summary-panel {
    padding: 8px 4px 4px;
  }

}

@media (max-width: 600px) {
  .product-page {
    padding: 18px 12px 60px;
  }

  .product-breadcrumbs {
    overflow: hidden;
    white-space: nowrap;
  }

  .product-breadcrumbs span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-overview {
    min-height: 0;
    margin-top: 8px;
    padding: 16px;
    border-radius: 22px;
    gap: 20px;
  }

  .product-visual-stage {
    min-height: 250px;
    border-radius: 16px;
  }

  .product-main-image {
    width: min(64%, 180px);
    height: auto;
    max-height: 180px;
  }

  .product-visual-stage > span {
    left: 14px;
    bottom: 13px;
    min-height: 30px;
  }

  .product-summary-panel h1 {
    font-size: 25px;
    line-height: 1.38;
  }

  .product-status-row {
    flex-wrap: wrap;
  }

  .product-purchase-grid {
    grid-template-columns: 1fr;
  }

  .product-payment-row {
    align-items: flex-start;
  }

  .product-buy-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .product-buy-panel > a {
    width: 100%;
  }

  .product-information {
    border-radius: 20px;
  }

  .product-detail-tabs {
    min-height: 56px;
    padding: 0 10px;
    gap: 2px;
  }

  .product-detail-tabs button {
    min-height: 56px;
    padding: 0 6px;
    gap: 4px;
    font-size: 12px;
  }

  .product-detail-tabs button i {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 10px;
  }

  .product-detail-panel {
    min-height: 280px;
    padding: 24px;
  }

  .product-related {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .product-related header h2 {
    font-size: 21px;
  }

  .product-related-grid {
    grid-template-columns: 1fr;
  }

  .product-related > header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .product-detail-tabs button i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-tab-indicator {
    transition-duration: 140ms;
  }

  .product-tab-slide.from-right,
  .product-tab-slide.from-left {
    animation-duration: 140ms;
  }

  @keyframes product-tab-slide-from-right {
    from { opacity: 0.72; transform: translateX(7px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes product-tab-slide-from-left {
    from { opacity: 0.72; transform: translateX(-7px); }
    to { opacity: 1; transform: translateX(0); }
  }
}

:root {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: #0f1f3d;
  background: #f7f9fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  --pilot-canvas: #f7f9fc;
  --pilot-surface: #ffffff;
  --pilot-surface-muted: #f2f6fc;
  --pilot-text: #0f1f3d;
  --pilot-text-secondary: #64748b;
  --pilot-text-tertiary: #8795ad;
  --pilot-brand: #4f68ff;
  --pilot-brand-strong: #4056e8;
  --pilot-brand-soft: #edf2ff;
  --pilot-border: rgba(79, 104, 156, 0.14);
  --pilot-border-light: rgba(255, 255, 255, 0.9);
  --pilot-shadow: 0 18px 52px rgba(42, 67, 112, 0.08);
  --pilot-card-shadow: 0 10px 30px rgba(42, 67, 112, 0.055);
  --pilot-glass-opacity: 0.74;
  --pilot-aurora-strength: 0.09;
  --pilot-hero-scale: 1;
  --pilot-heading-size: 56px;
  --pilot-radius-small: 12px;
  --pilot-radius: 16px;
  --pilot-radius-large: 24px;
  --pilot-page-gutter: 0px;
  --pilot-content-inset: clamp(20px, 2vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--pilot-canvas);
  color: var(--pilot-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-container {
  width: calc(100% - (var(--pilot-page-gutter) * 2));
  max-width: none;
  margin-inline: auto;
}

.app-shell {
  min-height: 100vh;
  background: var(--pilot-canvas);
}

.site-header {
  position: relative;
  z-index: 40;
  padding: 22px 0 0;
}

.nav-shell {
  position: relative;
  width: calc(100% - 24px);
  max-width: none;
  min-height: 60px;
  margin-inline: auto;
  padding: 7px 10px;
  border: 1px solid rgba(205, 218, 236, 0.82);
  border-radius: 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 254, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(125, 145, 175, 0.14),
    0 12px 30px rgba(36, 52, 78, 0.07);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
  backdrop-filter: blur(22px) saturate(118%);
}

.nav-glass-surface {
  z-index: 0;
  overflow: hidden;
  border-radius: 32px;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.nav-glass-surface > .glass {
  width: 100%;
  height: 100%;
  border-radius: 32px !important;
  box-shadow: none !important;
  pointer-events: none;
}

.nav-glass-surface > .glass > .glass__warp,
.nav-glass-surface > .glass > div {
  pointer-events: none;
}

.nav-glass-surface__fill {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-shell > :not(.nav-glass-surface) {
  position: relative;
  z-index: 1;
}

.nav-shell::after {
  position: absolute;
  right: 24px;
  bottom: -1px;
  left: 24px;
  height: 1px;
  background: rgba(117, 139, 171, 0.18);
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

.nav-shell::before {
  position: absolute;
  top: 1px;
  right: 22px;
  left: 22px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  content: "";
  opacity: 0.86;
  pointer-events: none;
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(91, 108, 137, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(211, 221, 235, 0.46), rgba(255, 255, 255, 0.7));
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.96),
    inset 0 -3px 2px rgba(76, 94, 123, 0.15),
    0 8px 16px rgba(75, 86, 150, 0.16);
}

.brand strong {
  color: var(--pilot-brand-strong);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links > a,
.tool-menu > button {
  position: relative;
  min-height: 42px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--pilot-text);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.tool-menu > button:hover,
.tool-menu > button:focus-visible {
  color: var(--pilot-brand-strong);
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 5px 12px rgba(66, 86, 122, 0.06);
}

.nav-links > a.is-active {
  color: var(--pilot-brand-strong);
}

.nav-links > a.is-active::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--pilot-brand);
}

.tool-menu {
  position: relative;
}

.tool-menu > button i {
  font-size: 9px;
  transition: transform 160ms ease;
}

.tool-menu > button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.tool-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  left: 50%;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--pilot-border);
  border-radius: 14px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--pilot-card-shadow);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.tool-popover a {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.tool-popover a:hover,
.tool-popover a:focus-visible {
  color: var(--pilot-brand-strong);
  background: var(--pilot-brand-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions .button {
  border-radius: 999px;
}

/* Keep the highlighted account action readable after global link/i18n styles load. */
.homepage-pilot .nav-actions > .button-primary,
.homepage-pilot .nav-actions > .button-primary:link,
.homepage-pilot .nav-actions > .button-primary:visited,
.homepage-pilot .nav-actions > .button-primary:hover,
.homepage-pilot .nav-actions > .button-primary:focus-visible,
.homepage-pilot .nav-actions > .button-primary:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  --fa-primary-color: #ffffff;
  --fa-secondary-color: #ffffff;
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 1;
}

.homepage-pilot .nav-actions > .button-primary > span,
.homepage-pilot .nav-actions > .button-primary > i,
.homepage-pilot .nav-actions > .button-primary > i::before,
.homepage-pilot .nav-actions > .button-primary > i::after {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.nav-preferences,
.mobile-preferences {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-language-switcher {
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--pilot-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 252, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 3px 10px rgba(66, 86, 122, 0.06);
}

.nav-language-switcher button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nav-language-switcher button:hover,
.nav-language-switcher button:focus-visible {
  color: var(--pilot-brand-strong);
  background: var(--pilot-brand-soft);
}

.nav-language-switcher button.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--pilot-brand-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 2px 7px rgba(42, 67, 112, 0.12);
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius-small);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pilot-surface);
  color: var(--pilot-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:focus-visible,
.section-link:focus-visible,
.category-card:focus-visible,
.product-footer a:focus-visible,
.purchase-flow a:focus-visible,
.faq-home a:focus-visible,
.faq-list summary:focus-visible,
.menu-toggle:focus-visible,
.modal-header button:focus-visible,
.all-category-grid a:focus-visible {
  outline: 2px solid var(--pilot-brand);
  outline-offset: 3px;
}

.button-primary {
  border-color: transparent;
  background: var(--pilot-brand);
  color: #ffffff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 14px rgba(45, 67, 102, 0.06);
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  z-index: 0;
  top: -200px;
  left: 50%;
  width: 1680px;
  max-width: none;
  opacity: var(--pilot-aurora-strength);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 610px;
  padding-inline: var(--pilot-content-inset);
  display: grid;
  grid-template-columns: minmax(460px, 0.92fr) minmax(600px, 1.08fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  padding-left: 2px;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--pilot-text);
  font-size: var(--pilot-heading-size);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero-copy h1 span {
  display: inline;
}

.hero-copy > p {
  margin: 20px 0 0;
  color: var(--pilot-text-secondary);
  font-size: 19px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.button-hero {
  position: relative;
  isolation: isolate;
  width: 184px;
  height: 52px;
  min-width: 184px;
  flex: 0 0 184px;
  padding-inline: 24px;
  border: 0;
  border-radius: 14px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.button-hero > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.button-hero.button-primary {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
}

.button-hero:hover {
  filter: brightness(1.04);
}

.button-hero i {
  font-size: 17px;
}

.button-hero:hover i:last-child {
  transform: translateX(2px);
}

.button-secondary {
  min-width: 184px;
  color: var(--pilot-brand-strong);
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  align-self: center;
}

.hero-globe {
  position: absolute;
  z-index: 1;
  left: 52%;
  top: 50%;
  width: 525px;
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(18px 16px 34px rgba(75, 172, 230, 0.1));
  animation: globe-float 8s ease-in-out infinite;
}

.hero-plaque {
  position: absolute;
  z-index: 3;
  left: 52%;
  top: 50%;
  width: 312px;
  max-width: none;
  transform: translate(-50%, -49%) rotate(-2deg);
  animation: plaque-float 7s ease-in-out infinite;
}

.orbit-icon {
  --rotate: 0deg;
  position: absolute;
  z-index: 4;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 10px 20px rgba(44, 70, 120, 0.08));
  animation: orbit-float 7.5s ease-in-out infinite;
}

.orbit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbit-instagram {
  --rotate: -4deg;
  left: 22%;
  top: 10px;
  animation-delay: -1s;
}

.orbit-tiktok {
  --rotate: 5deg;
  right: 7%;
  top: 24px;
  animation-delay: -3.4s;
}

.orbit-facebook {
  --rotate: -5deg;
  left: 7%;
  top: 38%;
  animation-delay: -2.1s;
}

.orbit-google {
  --rotate: 4deg;
  right: 0;
  top: 43%;
  animation-delay: -5s;
}

.orbit-x {
  --rotate: 4deg;
  left: 21%;
  bottom: 14px;
  animation-delay: -4.2s;
}

.orbit-telegram {
  --rotate: -4deg;
  right: 13%;
  bottom: 8px;
  animation-delay: -2.8s;
}

@keyframes globe-float {
  0%,
  100% { transform: translate(-50%, calc(-50% + 5px)) rotate(-0.2deg); }
  50% { transform: translate(-50%, calc(-50% - 7px)) rotate(0.2deg); }
}

@keyframes plaque-float {
  0%,
  100% { transform: translate(-50%, calc(-49% - 3px)) rotate(-2.1deg); }
  50% { transform: translate(-50%, calc(-49% + 5px)) rotate(-1.5deg); }
}

@keyframes orbit-float {
  0%,
  100% { transform: translateY(4px) rotate(var(--rotate)); }
  50% { transform: translateY(-5px) rotate(var(--rotate)); }
}

.assurance-bar {
  min-height: 104px;
  padding: 18px 26px;
  border-top: 1px solid var(--pilot-border);
  border-bottom: 1px solid var(--pilot-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(30, 41, 59, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(108%);
  backdrop-filter: blur(16px) saturate(108%);
}

.assurance-item {
  min-width: 0;
  padding: 0 38px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.assurance-item + .assurance-item {
  border-left: 1px solid var(--pilot-border);
}

.assurance-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 108, 137, 0.16);
  background: linear-gradient(180deg, rgba(203, 216, 235, 0.52), rgba(255, 255, 255, 0.72));
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.98),
    inset 0 -3px 2px rgba(76, 94, 123, 0.15),
    0 8px 15px rgba(30, 41, 59, 0.12);
  color: var(--pilot-brand);
  font-size: 19px;
}

.assurance-item strong {
  display: block;
  color: var(--pilot-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.assurance-item p {
  margin: 3px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 13px;
  line-height: 20px;
}

.announcement-bar {
  min-height: 78px;
  padding: 17px var(--pilot-content-inset);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--pilot-border);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 6px 16px rgba(30, 41, 59, 0.025);
  -webkit-backdrop-filter: blur(14px) saturate(106%);
  backdrop-filter: blur(14px) saturate(106%);
}

.announcement-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-heading > i {
  color: var(--pilot-brand-strong);
  font-size: 16px;
}

.announcement-heading strong,
.announcement-heading span {
  display: block;
}

.announcement-heading strong {
  color: var(--pilot-text);
  font-size: 16px;
  line-height: 22px;
}

.announcement-heading span {
  margin-top: 1px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  line-height: 18px;
}

.announcement-facts {
  min-width: 0;
  display: flex;
  align-items: center;
}

.announcement-facts span {
  padding-inline: 20px;
  color: var(--pilot-text-secondary);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}

.announcement-facts span:first-child {
  padding-left: 0;
}

.announcement-facts span + span {
  border-left: 1px solid var(--pilot-border);
}

.announcement-bar > p {
  margin: 0;
  color: var(--pilot-brand-strong);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.section {
  padding-top: 82px;
}

.section-heading {
  min-height: 62px;
  padding-inline: var(--pilot-content-inset);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 15px;
  line-height: 24px;
}

.section-link {
  min-height: 42px;
  padding: 0 2px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--pilot-brand-strong);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
}

.section-link:hover i {
  transform: translateX(3px);
}

.category-rail {
  position: relative;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(79, 104, 156, 0.08);
  border-bottom: 0;
  overflow: hidden;
  background-color: rgba(249, 250, 252, 0.98);
  background-image: url("/assets/user/images/homepage-pilot/waterglass-category-band-1934x162-v3.png");
  background-position: center 47%;
  background-repeat: no-repeat;
  background-size: 100% 400%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(42, 67, 112, 0.025);
  backdrop-filter: blur(16px) saturate(110%);
}

.category-rail::before {
  position: absolute;
  inset: -84px 28% -84px auto;
  width: 520px;
  background: url("/assets/user/images/homepage-pilot/aurora-ribbon.png") center / contain no-repeat;
  content: "";
  opacity: 0.1;
  pointer-events: none;
}

.category-track {
  position: relative;
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 14px;
  animation: category-scroll 34s linear infinite;
  will-change: transform;
}

.category-rail:hover .category-track,
.category-rail:focus-within .category-track {
  animation-play-state: paused;
}

.category-node {
  position: relative;
  width: 252px;
  min-height: 126px;
  padding: 16px 16px 16px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  background: transparent;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.category-node::after {
  position: absolute;
  top: 26px;
  right: -8px;
  bottom: 26px;
  width: 1px;
  background: var(--pilot-border);
  content: "";
}

.category-node:hover,
.category-node:focus-visible {
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(224, 231, 241, 0.42), rgba(255, 255, 255, 0.66));
  box-shadow:
    inset 0 1px 1px rgba(55, 71, 96, 0.1),
    inset 0 -2px 1px rgba(255, 255, 255, 0.92),
    0 6px 14px rgba(30, 41, 59, 0.055);
  transform: translateY(-2px);
}

.category-icon-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
}

.category-icon-wrap img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  transition: transform 220ms ease, filter 220ms ease;
}

.category-node:hover .category-icon-wrap img,
.category-node:focus-visible .category-icon-wrap img {
  filter: brightness(1.04) saturate(1.04);
  transform: translateY(-3px);
}

.category-name {
  min-width: 0;
  white-space: nowrap;
  color: var(--pilot-text);
  font-size: 16px;
  line-height: 23px;
  font-weight: 650;
}

.category-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--pilot-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pilot-brand-strong);
  font-size: 11px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.category-node:hover .category-arrow,
.category-node:focus-visible .category-arrow {
  border-color: rgba(79, 104, 255, 0.28);
  transform: translate(2px, -2px);
}

.products-section {
  padding-top: 76px;
}

.product-heading {
  align-items: flex-end;
}

.product-viewport {
  margin-top: 28px;
  margin-inline: var(--pilot-content-inset);
  overflow: hidden;
}

.product-grid {
  width: 100%;
  padding: 2px 0 12px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--pilot-content-inset);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-grid[data-animating="true"] {
  scroll-snap-type: none;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  min-height: 246px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  border-color: rgba(79, 104, 255, 0.23);
  box-shadow: 0 18px 44px rgba(42, 67, 112, 0.07);
  transform: translateY(-2px);
}

.product-stage {
  position: relative;
  min-height: 100%;
  border-right: 1px solid var(--pilot-border);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(242, 247, 255, 0.52);
}

.product-stage::after {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 72px;
  height: 1px;
  background: rgba(79, 104, 255, 0.16);
  box-shadow: 0 8px 24px rgba(79, 104, 255, 0.14);
  content: "";
  transform: translateX(-50%);
}

.product-stage-decor {
  position: absolute;
  width: 206px;
  max-width: none;
  opacity: 0.2;
  object-fit: contain;
  animation: product-scene 10s ease-in-out infinite alternate;
}

.product-icon {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(58, 88, 164, 0.12));
  animation: product-float 5.8s ease-in-out infinite;
}

.product-content {
  min-width: 0;
  padding: 17px 18px 16px;
  display: flex;
  flex-direction: column;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-platform {
  margin: 0;
  color: var(--pilot-text-tertiary);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.product-meta span {
  padding: 3px 8px;
  border: 1px solid rgba(79, 104, 255, 0.1);
  border-radius: 8px;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.product-card h3 {
  margin: 9px 0 0;
  color: var(--pilot-text);
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-title {
  margin: 5px 0 10px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--pilot-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-footer strong {
  color: var(--pilot-brand-strong);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-footer strong small {
  margin-right: 2px;
  font-size: 15px;
}

.product-footer a {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(79, 104, 255, 0.12);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--pilot-brand-strong);
  font-size: 13px;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.product-footer a:hover,
.product-footer a:focus-visible {
  border-color: rgba(79, 104, 255, 0.24);
  background: var(--pilot-brand-soft);
  transform: translateY(-1px);
}

.product-footer a:hover i,
.product-footer a:focus-visible i {
  transform: translate(2px, -2px);
}

@keyframes category-scroll {
  to { transform: translateX(calc(-50% - 7px)); }
}

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

@keyframes product-scene {
  from { transform: translate(-8px, 5px) rotate(-3deg); }
  to { transform: translate(8px, -5px) rotate(3deg); }
}

.purchase-flow {
  margin-top: 0;
  padding: 88px 0;
  border-top: 1px solid var(--pilot-border);
}

.purchase-flow-heading {
  padding-inline: var(--pilot-content-inset);
  text-align: center;
}

.purchase-flow-heading > p {
  margin: 0 0 10px;
  color: var(--pilot-brand-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
}

.purchase-flow-heading h2,
.faq-home-header h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.purchase-flow-heading > span,
.faq-home-header p {
  display: block;
  margin: 8px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 14px;
  line-height: 22px;
}

.purchase-steps {
  position: relative;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.purchase-steps::before {
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(79, 104, 255, 0.24);
  content: "";
}

.purchase-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 16px;
  text-align: center;
}

.purchase-step-visual {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.purchase-step-icon {
  position: relative;
  isolation: isolate;
  width: 70px;
  height: 70px;
  border: 1px solid var(--pilot-border);
  border-radius: var(--pilot-radius);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pilot-brand-strong);
  font-size: 23px;
  box-shadow: 0 10px 28px rgba(42, 67, 112, 0.045);
}

.purchase-step-icon i {
  position: relative;
  z-index: 1;
}

.purchase-step-icon::after {
  position: absolute;
  inset: 10px;
  border-radius: var(--pilot-radius-small);
  background: var(--pilot-brand-soft);
  content: "";
  z-index: -1;
}

.purchase-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(79, 104, 255, 0.2);
}

.purchase-step-copy h3 {
  margin: 17px 0 0;
  color: var(--pilot-text);
  font-size: 17px;
  line-height: 25px;
  font-weight: 700;
}

.purchase-step-copy p {
  margin: 4px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 13px;
  line-height: 20px;
}

.faq-home {
  margin-top: 0;
  margin-bottom: 0;
  padding: 88px 0;
  border-top: 1px solid var(--pilot-border);
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 1679px) and (min-width: 1051px) {
  .product-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

.faq-home-inner {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

.faq-home-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  text-align: center;
}

.faq-home-header > div {
  grid-column: 2;
}

.faq-home-header h2 {
  font-size: 28px;
  line-height: 38px;
}

.faq-home-header > a {
  grid-column: 3;
  justify-self: end;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pilot-brand-strong);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.faq-list {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.faq-column {
  border-top: 1px solid var(--pilot-border);
}

.faq-list details {
  border-bottom: 1px solid var(--pilot-border);
}

.faq-list summary {
  min-height: 72px;
  padding: 18px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--pilot-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  color: var(--pilot-text-tertiary);
  font-size: 10px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: -4px 0 0;
  padding: 0 42px 24px 2px;
  color: var(--pilot-text-secondary);
  font-size: 14px;
  line-height: 24px;
}

.footer {
  border-top: 1px solid var(--pilot-border);
  background: rgba(255, 255, 255, 0.68);
}

.footer-main {
  min-height: 112px;
  padding: 26px var(--pilot-content-inset);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-main strong {
  color: var(--pilot-text);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.footer-main p {
  margin: 4px 0 0;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  line-height: 18px;
}

.footer-main nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-main nav a {
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.footer-main nav a:hover {
  color: var(--pilot-brand-strong);
}

.footer-bottom {
  min-height: 54px;
  padding: 15px var(--pilot-content-inset);
  border-top: 1px solid var(--pilot-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pilot-text-tertiary);
  font-size: 11px;
  line-height: 18px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 32px;
  display: grid;
  place-items: center;
  background: rgba(15, 31, 61, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.category-modal {
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 64px));
  padding: 28px;
  border: 1px solid var(--pilot-border-light);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--pilot-shadow);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-header p {
  margin: 0 0 2px;
  color: var(--pilot-brand-strong);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.modal-header h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 26px;
  line-height: 34px;
  font-weight: 700;
}

.modal-header button,
.modal-search button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--pilot-border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--pilot-surface);
  color: var(--pilot-text-secondary);
  cursor: pointer;
}

.modal-search {
  min-height: 50px;
  margin-top: 22px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--pilot-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pilot-surface-muted);
  color: var(--pilot-text-tertiary);
}

.modal-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pilot-text);
  font-size: 14px;
}

.modal-search button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
}

.modal-body {
  min-height: 0;
  margin-top: 24px;
  padding-right: 5px;
  overflow: auto;
}

.modal-group + .modal-group {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--pilot-border);
}

.modal-group h3 {
  margin: 0 0 14px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.all-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.all-category-grid a {
  min-width: 0;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.all-category-grid a:hover {
  border-color: var(--pilot-border);
  background: var(--pilot-surface-muted);
}

.all-category-grid img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.all-category-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--pilot-text);
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
}

.all-category-grid i {
  color: var(--pilot-text-tertiary);
  font-size: 10px;
}

.search-products {
  display: grid;
  gap: 6px;
}

.search-products h3 {
  margin-bottom: 8px;
}

.search-products a {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
}

.search-products a:hover {
  background: var(--pilot-surface-muted);
}

.search-products strong {
  color: var(--pilot-brand-strong);
  font-variant-numeric: tabular-nums;
}

.empty-search {
  margin: 40px 0;
  color: var(--pilot-text-tertiary);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1279px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links > a,
  .tool-menu > button {
    padding-inline: 7px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(410px, 0.88fr) minmax(520px, 1.12fr);
    gap: 12px;
  }

  .hero-globe {
    width: 480px;
  }

  .hero-plaque {
    width: 284px;
  }

  .orbit-icon {
    width: 64px;
    height: 64px;
  }

  .assurance-item {
    padding-inline: 24px;
  }

  .announcement-bar {
    gap: 22px;
  }

  .announcement-facts span {
    padding-inline: 12px;
  }

}

@media (max-width: 1050px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--pilot-border);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.75);
    color: var(--pilot-text);
    cursor: pointer;
  }

  .mobile-nav {
    width: calc(100vw - 48px);
    margin: 8px auto 0;
    padding: 12px;
    border: 1px solid var(--pilot-border-light);
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--pilot-card-shadow);
  }

  .mobile-nav > a {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pilot-text-secondary);
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-nav > a:hover {
    color: var(--pilot-brand-strong);
    background: var(--pilot-brand-soft);
  }

  .mobile-preferences,
  .mobile-auth {
    grid-column: 1 / -1;
  }

  .mobile-preferences {
    min-height: 44px;
    padding: 0 4px;
    justify-content: space-between;
  }

  .mobile-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-grid {
    min-height: 560px;
    grid-template-columns: minmax(340px, 0.9fr) minmax(430px, 1.1fr);
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-visual {
    height: 440px;
  }

  .hero-globe {
    width: 420px;
  }

  .hero-plaque {
    width: 248px;
  }

  .product-card {
    flex-basis: 390px;
    min-height: 238px;
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .purchase-steps li {
    padding-inline: 10px;
  }

  .purchase-step-copy p {
    font-size: 12px;
    line-height: 19px;
  }

}

@media (max-width: 760px) {
  :root {
    --pilot-heading-size: 40px;
    --pilot-glass-opacity: 0.8;
    --pilot-aurora-strength: 0.075;
    --pilot-content-inset: 12px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .page-container,
  .mobile-nav {
    width: calc(100% - (var(--pilot-page-gutter) * 2));
  }

  .nav-shell,
  .mobile-nav {
    width: calc(100% - (var(--pilot-content-inset) * 2));
  }

  .site-header {
    padding-top: 10px;
  }

  .nav-shell {
    min-height: 58px;
    padding: 7px 9px;
    border-radius: 29px;
    background: linear-gradient(180deg, rgba(219, 227, 237, 0.45), rgba(255, 255, 255, 0.72));
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero-atmosphere {
    top: 60px;
    width: 900px;
    opacity: 0.06;
  }

  .hero-grid {
    min-height: 680px;
    padding-top: 46px;
    padding-bottom: 24px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 20px;
  }

  .hero-copy {
    padding: 0 6px;
  }

  .hero-copy h1 {
    max-width: 356px;
    font-size: var(--pilot-heading-size);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-copy > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 184px);
    gap: 10px;
  }

  .button-hero {
    min-width: 0;
    width: 100%;
    padding-inline: 10px;
    font-size: 14px;
  }

  .button-hero i {
    font-size: 15px;
  }

  .hero-visual {
    height: 370px;
  }

  .hero-globe {
    left: 50%;
    top: 50%;
    width: 360px;
  }

  .hero-plaque {
    left: 50%;
    top: 50%;
    width: 214px;
  }

  .orbit-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .orbit-instagram {
    left: 2%;
    top: 13px;
  }

  .orbit-tiktok {
    right: 1%;
    top: 20px;
  }

  .orbit-facebook,
  .orbit-google {
    display: none;
  }

  .orbit-x {
    left: 8%;
    bottom: 8px;
  }

  .orbit-telegram {
    right: 7%;
    bottom: 6px;
  }

  .assurance-bar {
    min-height: 0;
    padding: 8px 0;
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, rgba(220, 228, 238, 0.4), rgba(255, 255, 255, 0.68));
  }

  .assurance-item {
    min-height: 82px;
    padding: 12px 8px;
  }

  .assurance-item + .assurance-item {
    border-top: 1px solid var(--pilot-border);
    border-left: 0;
  }

  .assurance-icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .assurance-item strong {
    font-size: 15px;
  }

  .announcement-bar {
    padding-block: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
    background: linear-gradient(180deg, rgba(221, 229, 239, 0.36), rgba(255, 255, 255, 0.66));
  }

  .announcement-bar > p {
    grid-column: 1;
  }

  .announcement-facts {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 16px;
  }

  .announcement-facts span {
    padding: 0;
    white-space: normal;
  }

  .announcement-facts span + span {
    border-left: 0;
  }

  .section {
    padding-top: 62px;
  }

  .section-heading {
    min-height: 0;
    align-items: flex-end;
  }

  .section-heading h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .section-heading p {
    max-width: 250px;
    font-size: 13px;
    line-height: 20px;
  }

  .section-link {
    min-height: 36px;
    gap: 6px;
    font-size: 12px;
  }

  .category-rail {
    margin-top: 22px;
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(220, 228, 238, 0.4), rgba(255, 255, 255, 0.66));
  }

  .category-rail::before {
    inset: -46px -80px -46px auto;
    width: 340px;
  }

  .category-track {
    gap: 10px;
    animation-name: category-scroll-mobile;
    animation-duration: 28s;
  }

  .category-node {
    width: 210px;
    min-height: 104px;
    padding: 12px;
    grid-template-columns: 58px minmax(0, 1fr) 26px;
    gap: 9px;
    border-radius: 14px;
  }

  .category-icon-wrap,
  .category-icon-wrap img {
    width: 58px;
    height: 58px;
  }

  .category-name {
    font-size: 14px;
    line-height: 20px;
  }

  .category-arrow {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

  .products-section {
    padding-top: 58px;
  }

  .product-viewport {
    margin-top: 22px;
  }

  .product-grid {
    padding-bottom: 10px;
    gap: 12px;
  }

  .product-card {
    flex-basis: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .product-stage {
    flex: 0 0 122px;
    min-height: 122px;
    border-right: 0;
    border-bottom: 1px solid var(--pilot-border);
  }

  .product-stage-decor {
    width: 184px;
  }

  .product-icon {
    width: 76px;
    height: 76px;
  }

  .product-content {
    padding: 16px;
  }

  .product-card h3 {
    margin-top: 10px;
    font-size: 18px;
    line-height: 25px;
  }

  .product-title {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 20px;
    -webkit-line-clamp: 3;
  }

  .purchase-flow {
    margin-top: 0;
    padding: 60px 0;
  }

  .purchase-flow-heading > p {
    margin-bottom: 8px;
  }

  .purchase-flow-heading h2 {
    font-size: 25px;
    line-height: 34px;
  }

  .purchase-flow-heading > span {
    margin-top: 6px;
    font-size: 13px;
    line-height: 20px;
  }

  .purchase-steps {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .purchase-steps::before {
    top: 30px;
    bottom: 48px;
    left: 29px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .purchase-steps li {
    min-height: 88px;
    padding: 0 0 18px;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    text-align: left;
  }

  .purchase-step-visual,
  .purchase-step-icon {
    width: 60px;
    height: 60px;
  }

  .purchase-step-icon {
    font-size: 20px;
  }

  .purchase-step-icon::after {
    inset: 8px;
  }

  .purchase-step-number {
    top: -6px;
    right: -6px;
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 11px;
  }

  .purchase-step-copy h3 {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .purchase-step-copy p {
    margin-top: 2px;
    font-size: 13px;
    line-height: 20px;
  }

  .faq-home {
    margin-top: 0;
    margin-bottom: 0;
    padding: 60px 0;
  }

  .faq-home-inner {
    width: calc(100% - 24px);
  }

  .faq-home-header {
    grid-template-columns: 1fr auto;
    align-items: end;
    text-align: left;
  }

  .faq-home-header > div {
    grid-column: 1;
  }

  .faq-home-header > a {
    grid-column: 2;
    align-self: end;
  }

  .faq-home-header h2 {
    font-size: 21px;
    line-height: 29px;
  }

  .faq-list {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-column + .faq-column {
    border-top: 0;
  }

  .faq-list summary {
    min-height: 60px;
  }

  .footer-main {
    min-height: 0;
    padding: 28px 0 20px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main nav {
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .category-modal {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
    border-radius: 18px;
  }

  .modal-header h2 {
    font-size: 24px;
  }

  .all-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .all-category-grid a {
    min-height: 64px;
    padding-inline: 6px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .all-category-grid i {
    display: none;
  }
}

/* 2026-09-22 layout pass: narrower desktop navigation and clearer mobile sections. */
@media (min-width: 1051px) {
  .home-pilot-page .nav-shell {
    width: clamp(920px, calc(66.666vw - 8px), 1260px);
  }
}

.announcement-bar {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
}

.announcement-heading strong {
  display: block;
}

.announcement-bar > p {
  justify-self: end;
}

@media (max-width: 760px) {
  .homepage-pilot .assurance-bar {
    padding: 10px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .homepage-pilot .assurance-item,
  .homepage-pilot .assurance-item:nth-child(3) {
    min-height: 86px !important;
    padding: 10px 5px !important;
    grid-column: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 7px !important;
    text-align: center;
  }

  .homepage-pilot .assurance-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    font-size: 14px !important;
  }

  .homepage-pilot .assurance-item strong {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .homepage-pilot .assurance-item p {
    display: none !important;
  }

  .homepage-pilot .announcement-bar {
    width: calc(100% - 20px);
    min-height: 62px;
    margin: 8px 10px 0;
    padding: 12px 14px;
    border: 1px solid rgba(79, 104, 156, .10);
    border-radius: 16px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    background: #fff;
  }

  .homepage-pilot .announcement-heading {
    gap: 8px;
  }

  .homepage-pilot .announcement-heading strong {
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }

  .homepage-pilot .announcement-bar > p {
    justify-self: stretch;
    color: var(--pilot-text-secondary);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 500;
    white-space: normal;
  }

  .homepage-pilot #homepage-categories {
    padding-top: 44px;
  }

  .homepage-pilot #homepage-categories .section-heading {
    min-height: 42px;
    padding-inline: 4px;
    align-items: center;
    gap: 14px;
  }

  .homepage-pilot #homepage-categories .section-heading h2 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -.025em;
  }

  .homepage-pilot #homepage-categories .section-heading p {
    display: none;
  }

  .homepage-pilot #homepage-categories .section-link {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(79, 104, 156, .12);
    border-radius: 12px;
    background: #fff;
    gap: 7px;
    font-size: 13px;
  }

  .homepage-pilot #homepage-categories .category-rail {
    margin-top: 16px;
  }

  .homepage-pilot .purchase-flow-heading {
    padding-inline: 0 !important;
    text-align: left;
  }

  .homepage-pilot .purchase-flow-heading h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 370px) {
  .brand strong {
    max-width: 190px;
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 742px;
  }

  .hero-grid {
    min-height: 742px;
  }

  .section-heading {
    display: grid;
  }

  .section-link {
    justify-self: start;
  }
}

@keyframes category-scroll-mobile {
  to { transform: translateX(calc(-50% - 5px)); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }

  .product-tab-indicator {
    transition-duration: 140ms !important;
  }

  .hero-globe {
    animation-duration: 12s;
  }

  .hero-plaque {
    animation-duration: 11s;
  }

  .orbit-icon {
    animation-duration: 13s;
  }

  .category-track,
  .product-stage-decor,
  .product-icon {
    animation-duration: 48s;
  }

  .product-stage-decor {
    animation-duration: 18s;
  }

  .product-icon {
    animation-duration: 10s;
  }
}

/* Independent product catalog: structure follows the selected reference; styling stays within the Pilot. */
.catalog-page {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 30px var(--pilot-content-inset) 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 4%, rgba(133, 196, 255, 0.09), transparent 26%),
    radial-gradient(circle at 12% 72%, rgba(145, 128, 255, 0.055), transparent 30%),
    var(--pilot-canvas);
}

.catalog-page-heading,
.catalog-layout {
  position: relative;
  z-index: 1;
}

.catalog-page-heading {
  min-height: 94px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-page-heading > div:first-child > p {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pilot-text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

.catalog-page-heading > div:first-child > p a {
  transition: color 160ms ease;
}

.catalog-page-heading > div:first-child > p a:hover,
.catalog-page-heading > div:first-child > p a:focus-visible {
  color: var(--pilot-brand-strong);
}

.catalog-page-heading > div:first-child > p i {
  font-size: 9px;
}

.catalog-page-heading h1 {
  margin: 0;
  color: var(--pilot-text);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.catalog-page-heading > div:first-child > span {
  margin-top: 10px;
  display: block;
  color: var(--pilot-text-secondary);
  font-size: 15px;
}

.catalog-heading-note {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(79, 104, 156, 0.12);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--pilot-text-secondary);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(42, 67, 112, 0.04);
}

.catalog-heading-note i {
  color: var(--pilot-brand);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.catalog-sidebar,
.catalog-toolbar,
.catalog-product-panel {
  border: 1px solid var(--pilot-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(42, 67, 112, 0.055);
}

.catalog-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  padding: 12px;
  border-radius: 24px;
  overflow: auto;
  scrollbar-width: thin;
}

.catalog-sidebar-header {
  min-height: 66px;
  padding: 4px 8px 12px 10px;
  border-bottom: 1px solid rgba(79, 104, 156, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-sidebar-header p {
  margin: 0;
  color: var(--pilot-text);
  font-size: 18px;
  font-weight: 700;
}

.catalog-sidebar-header span {
  margin-top: 4px;
  display: block;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.catalog-sidebar-header > i {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand);
  font-size: 16px;
}

.catalog-tree-list {
  padding-top: 8px;
}

.catalog-recommend,
.catalog-tree-parent {
  width: 100%;
  min-height: 52px;
  padding: 5px 10px 5px 7px;
  border: 0;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--pilot-text);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.catalog-recommend:hover,
.catalog-recommend:focus-visible,
.catalog-tree-parent:hover,
.catalog-tree-parent:focus-visible {
  background: rgba(237, 242, 255, 0.72);
  color: var(--pilot-brand-strong);
}

.catalog-recommend.is-active,
.catalog-tree-group.is-active > .catalog-tree-parent {
  background: linear-gradient(100deg, rgba(230, 237, 255, 0.96), rgba(247, 250, 255, 0.74));
  color: var(--pilot-brand-strong);
}

.catalog-tree-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(79, 104, 156, 0.1);
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
}

.catalog-tree-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.catalog-tree-icon i {
  color: var(--pilot-brand);
  font-size: 14px;
}

.catalog-recommend strong,
.catalog-tree-parent strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-recommend > i,
.catalog-tree-parent > i {
  justify-self: center;
  color: var(--pilot-text-tertiary);
  font-size: 10px;
  transition: transform 180ms ease;
}

.catalog-tree-parent[aria-expanded="true"] > i {
  color: var(--pilot-brand);
  transform: rotate(180deg);
}

.catalog-sublist {
  margin: 3px 8px 8px 25px;
  padding: 3px 0 3px 25px;
  border-left: 1px solid rgba(79, 104, 156, 0.14);
  display: grid;
  gap: 2px;
}

.catalog-sublist button {
  min-height: 34px;
  padding: 5px 9px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.catalog-sublist button:hover,
.catalog-sublist button:focus-visible,
.catalog-sublist button.is-active {
  background: rgba(237, 242, 255, 0.9);
  color: var(--pilot-brand-strong);
}

.catalog-mobile-categories {
  display: none;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  min-height: 116px;
  padding: 22px 24px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.catalog-current-category {
  min-width: 230px;
}

.catalog-current-category p {
  margin: 0 0 4px;
  color: var(--pilot-brand-strong);
  font-size: 12px;
  font-weight: 600;
}

.catalog-current-category h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.catalog-current-category span {
  margin-top: 4px;
  display: block;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.catalog-sort-trigger,
.catalog-search {
  height: 48px;
  border: 1px solid rgba(79, 104, 156, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: rgba(249, 251, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.catalog-sort-trigger:hover,
.catalog-search:hover {
  background: #ffffff;
  border-color: rgba(79, 104, 255, 0.25);
}

.catalog-sort-trigger:focus-visible,
.catalog-search:focus-within {
  border-color: rgba(79, 104, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 104, 255, 0.1);
}

.catalog-sort-menu {
  position: relative;
  width: 174px;
}

.catalog-sort-trigger {
  width: 100%;
  padding: 0 13px;
  border: 1px solid rgba(79, 104, 156, 0.15);
  gap: 8px;
  color: var(--pilot-text-secondary);
  cursor: pointer;
}

.catalog-sort-trigger > span {
  color: var(--pilot-text-tertiary);
  font-size: 11px;
  font-weight: 600;
}

.catalog-sort-trigger > strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--pilot-text);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-sort-trigger > i {
  font-size: 9px;
  transition: transform 160ms ease;
}

.catalog-sort-trigger[aria-expanded="true"] > i {
  color: var(--pilot-brand);
  transform: rotate(180deg);
}

.catalog-sort-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  width: 190px;
  padding: 7px;
  border: 1px solid rgba(79, 104, 156, 0.14);
  border-radius: 17px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(37, 57, 96, 0.14);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.catalog-sort-popover button {
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.catalog-sort-popover button:hover,
.catalog-sort-popover button:focus-visible,
.catalog-sort-popover button.is-active {
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
}

.catalog-sort-popover button i {
  color: var(--pilot-brand);
  font-size: 11px;
}

.catalog-search {
  width: min(340px, 28vw);
  padding: 0 12px 0 15px;
  gap: 10px;
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pilot-text);
  font-size: 13px;
}

.catalog-search input::placeholder {
  color: var(--pilot-text-tertiary);
}

.catalog-search button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
  cursor: pointer;
}

.catalog-product-panel {
  margin-top: 16px;
  border-radius: 24px;
  overflow: hidden;
}

.catalog-table-head,
.catalog-product-row {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 96px 110px 118px;
  align-items: center;
  column-gap: 18px;
}

.catalog-table-head {
  min-height: 46px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(79, 104, 156, 0.1);
  background: rgba(245, 248, 253, 0.8);
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.catalog-table-head span:first-child {
  padding-left: 68px;
}

.catalog-table-head span:nth-child(n + 2) {
  text-align: center;
}

.catalog-product-row {
  min-height: 92px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(79, 104, 156, 0.09);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.catalog-product-row:last-child {
  border-bottom: 0;
}

.catalog-product-row:hover {
  position: relative;
  z-index: 1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 67, 112, 0.055);
}

.catalog-product-info {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.catalog-product-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(79, 104, 156, 0.11);
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(241, 246, 255, 0.95), #ffffff);
}

.catalog-product-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.catalog-product-info h3 {
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--pilot-text);
  font-size: 15px;
  line-height: 21px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-delivery-meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pilot-text-secondary);
  font-size: 12px;
  line-height: 18px;
}

.catalog-delivery-meta > span {
  color: var(--pilot-text-tertiary);
}

.catalog-delivery-meta > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #218365;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-delivery-meta i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #34b786;
  box-shadow: 0 0 0 3px rgba(52, 183, 134, 0.1);
}

.catalog-stock {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--pilot-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.catalog-stock small {
  display: none;
}

.catalog-stock strong {
  font-weight: 700;
}

.catalog-stock.is-empty {
  color: var(--pilot-text-tertiary);
}

.catalog-price {
  color: var(--pilot-brand-strong);
  font-size: 20px;
  text-align: center;
}

.catalog-price small {
  margin-right: 2px;
  font-size: 13px;
}

.catalog-buy,
.catalog-empty a,
.catalog-empty button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(79, 104, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--pilot-brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(79, 104, 255, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalog-buy:hover,
.catalog-buy:focus-visible,
.catalog-empty a:hover,
.catalog-empty a:focus-visible,
.catalog-empty button:hover,
.catalog-empty button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 22px rgba(79, 104, 255, 0.2);
}

.catalog-buy i,
.catalog-empty a i {
  font-size: 10px;
}

.catalog-empty {
  min-height: 420px;
  padding: 54px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.catalog-empty > span {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand);
  font-size: 22px;
}

.catalog-empty h3 {
  margin: 18px 0 7px;
  color: var(--pilot-text);
  font-size: 18px;
}

.catalog-empty p {
  max-width: 390px;
  margin: 0 0 20px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 21px;
}

@media (max-width: 1280px) {
  .catalog-layout {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 16px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .catalog-tools {
    width: 100%;
  }

  .catalog-search {
    width: min(440px, 48vw);
  }

  .catalog-table-head,
  .catalog-product-row {
    grid-template-columns: minmax(300px, 1fr) 72px 82px 104px;
    column-gap: 12px;
  }
}

@media (max-width: 860px) {
  .catalog-page {
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .catalog-page-heading {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-heading-note {
    min-height: 40px;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 20px;
    overflow: hidden;
  }

  .catalog-sidebar-header,
  .catalog-tree-list {
    display: none;
  }

  .catalog-mobile-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-mobile-categories::-webkit-scrollbar {
    display: none;
  }

  .catalog-mobile-categories button {
    min-height: 42px;
    padding: 0 13px 0 8px;
    border: 1px solid rgba(79, 104, 156, 0.12);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--pilot-text-secondary);
    font-size: 12px;
    font-weight: 600;
  }

  .catalog-mobile-categories button.is-active {
    border-color: rgba(79, 104, 255, 0.25);
    background: var(--pilot-brand-soft);
    color: var(--pilot-brand-strong);
  }

  .catalog-mobile-categories img {
    width: 30px;
    height: 30px;
  }

  .catalog-table-head,
  .catalog-product-row {
    grid-template-columns: minmax(0, 1fr) 68px 76px 96px;
    column-gap: 10px;
  }

}

@media (max-width: 600px) {
  .catalog-page {
    padding-top: 20px;
  }

  .catalog-page-heading {
    margin-bottom: 18px;
    gap: 16px;
  }

  .catalog-page-heading h1 {
    font-size: 34px;
  }

  .catalog-heading-note {
    width: 100%;
    min-height: auto;
    padding: 11px 13px;
    border-radius: 16px;
    align-items: flex-start;
    line-height: 19px;
  }

  .catalog-toolbar {
    padding: 18px;
    border-radius: 20px;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-sort-menu,
  .catalog-search {
    width: 100%;
  }

  .catalog-product-panel {
    border-radius: 20px;
  }

  .catalog-table-head {
    display: none;
  }

  .catalog-product-row {
    min-height: 154px;
    padding: 15px;
    grid-template-columns: minmax(70px, 0.7fr) minmax(70px, 0.7fr) auto;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .catalog-product-info {
    grid-column: 1 / -1;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
  }

  .catalog-product-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .catalog-product-icon img {
    width: 42px;
    height: 42px;
  }

  .catalog-product-info h3 {
    font-size: 14px;
  }

  .catalog-price {
    justify-self: start;
    font-size: 19px;
  }

  .catalog-stock {
    justify-self: start;
    gap: 6px;
    color: var(--pilot-text-secondary);
    font-size: 13px;
  }

  .catalog-stock small {
    display: inline;
    color: var(--pilot-text-tertiary);
    font-size: 11px;
    font-weight: 500;
  }

  .catalog-buy {
    min-height: 38px;
  }

.catalog-empty {
    min-height: 340px;
  }
}

/* Personal center */
.profile-page {
  min-height: calc(100vh - 210px);
  padding: 28px clamp(20px, 3vw, 56px) 96px;
  background: var(--pilot-canvas);
}

.profile-page-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.profile-breadcrumbs {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.profile-breadcrumbs a { color: var(--pilot-text-secondary); }

.profile-breadcrumbs a:hover,
.profile-breadcrumbs a:focus-visible { color: var(--pilot-brand-strong); }

.profile-breadcrumbs i { font-size: 8px; }

.profile-hero-card {
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(208, 218, 233, 0.78);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--pilot-shadow);
}

.profile-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  padding: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(79, 104, 255, 0.18);
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.95), 0 9px 20px rgba(79, 104, 255, 0.1);
}

.profile-avatar img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; }

.profile-identity p,
.profile-section-header p,
.profile-card-title p {
  margin: 0 0 6px;
  color: var(--pilot-brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.profile-identity h1 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.profile-identity > div > span {
  display: block;
  margin-top: 7px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.profile-hero-card > .button { flex: 0 0 auto; }

.profile-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.profile-sidebar,
.profile-main,
.profile-content-card {
  border: 1px solid rgba(208, 218, 233, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--pilot-card-shadow);
}

.profile-sidebar {
  min-height: 370px;
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
}

.profile-sidebar-label {
  margin: 0 10px 10px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.profile-tab-list { display: grid; gap: 5px; }

.profile-tab-list button {
  min-height: 48px;
  padding: 0 11px;
  border: 0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--pilot-text-secondary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.profile-tab-list button > i:first-child {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f1f4fa;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
}

.profile-tab-list button > i:last-child { margin-left: auto; font-size: 9px; color: var(--pilot-text-tertiary); }

.profile-tab-list button:hover,
.profile-tab-list button:focus-visible { color: var(--pilot-brand-strong); background: rgba(237, 242, 255, 0.72); }

.profile-tab-list button.is-active { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }

.profile-tab-list button.is-active > i:first-child { background: var(--pilot-brand); color: #ffffff; }

.profile-sidebar-note {
  margin-top: auto;
  padding: 13px 10px 10px;
  border-top: 1px solid rgba(208, 218, 233, 0.58);
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-sidebar-note > span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
  font-size: 12px;
}

.profile-sidebar-note strong { color: var(--pilot-text-secondary); font-size: 12px; }

.profile-sidebar-note p { margin: 3px 0 0; color: var(--pilot-text-tertiary); font-size: 11px; }

.profile-main { min-width: 0; padding: 24px; }

.profile-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.profile-section-header h2 {
  margin: 0;
  color: var(--pilot-text);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.profile-section-header > div > span { display: block; margin-top: 8px; color: var(--pilot-text-secondary); font-size: 13px; }

.profile-logged-out {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(118, 137, 171, 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pilot-text-tertiary);
  font-size: 12px;
  white-space: nowrap;
}

.profile-logged-out i { width: 7px; height: 7px; border-radius: 50%; background: #a9b4c7; }

.profile-stat-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.profile-stat-card {
  min-height: 108px;
  padding: 15px 14px 13px;
  border: 1px solid rgba(208, 218, 233, 0.64);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  background: rgba(248, 250, 255, 0.82);
}

.profile-stat-card > span { color: var(--pilot-text-secondary); font-size: 12px; }

.profile-stat-card strong { margin-top: 10px; color: var(--pilot-text); font-size: 25px; line-height: 1; font-weight: 700; }

.profile-stat-card small { margin-top: auto; color: var(--pilot-text-tertiary); font-size: 11px; }

.profile-content-card { margin-top: 18px; padding: 20px; box-shadow: none; }

.profile-card-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }

.profile-card-title h3 { margin: 0; color: var(--pilot-text); font-size: 18px; }

.profile-card-title > span { color: var(--pilot-text-tertiary); font-size: 11px; }

.profile-empty-state {
  min-height: 238px;
  margin-top: 16px;
  padding: 24px 18px;
  border: 1px dashed rgba(118, 137, 171, 0.24);
  border-radius: 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: rgba(248, 250, 255, 0.58);
}

.profile-empty-state > span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--pilot-brand-soft);
  color: var(--pilot-brand-strong);
  font-size: 18px;
}

.profile-empty-state h3 { margin: 14px 0 0; color: var(--pilot-text); font-size: 16px; }

.profile-empty-state p { max-width: 420px; margin: 7px 0 16px; color: var(--pilot-text-secondary); font-size: 12px; line-height: 1.7; }

.profile-empty-state .button { min-height: 40px; padding: 0 16px; font-size: 12px; }

.profile-safety-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 104, 255, 0.12);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: rgba(237, 242, 255, 0.58);
  color: var(--pilot-text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.profile-safety-note > i { margin-top: 2px; color: var(--pilot-brand-strong); }

.profile-safety-note strong { margin-right: 4px; color: var(--pilot-text); }

.profile-panel-card { margin-top: 0; }

.profile-panel-card .profile-empty-state { min-height: 340px; }

.profile-security-list { margin-top: 24px; border-top: 1px solid rgba(208, 218, 233, 0.65); }

.profile-security-list > div {
  min-height: 70px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(208, 218, 233, 0.65);
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-security-list > div > span { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); font-size: 13px; }

.profile-security-list > div > div { flex: 1; }

.profile-security-list strong { color: var(--pilot-text-secondary); font-size: 13px; }

.profile-security-list p { margin: 4px 0 0; color: var(--pilot-text-tertiary); font-size: 11px; }

.profile-security-list > div > i { color: var(--pilot-text-tertiary); font-size: 10px; }

.profile-panel-action { margin-top: 20px; display: flex; justify-content: flex-end; }

.profile-panel-action .button { min-height: 40px; font-size: 12px; }

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { min-height: 0; padding: 16px; }
  .profile-tab-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-sidebar-note { display: none; }
}

@media (max-width: 600px) {
  .profile-page { min-height: calc(100vh - 160px); padding: 18px 12px 64px; }
  .profile-hero-card { align-items: flex-start; flex-direction: column; padding: 20px 18px; border-radius: 20px; }
  .profile-hero-card > .button { width: 100%; justify-content: center; }
  .profile-identity { align-items: flex-start; }
  .profile-avatar { width: 60px; height: 60px; border-radius: 20px; }
  .profile-avatar img { border-radius: 15px; }
  .profile-identity h1 { font-size: 28px; }
  .profile-identity > div > span { font-size: 12px; }
  .profile-tab-list { grid-template-columns: 1fr; }
  .profile-tab-list button { min-height: 44px; }
  .profile-main { padding: 18px 16px; border-radius: 20px; }
  .profile-section-header { align-items: flex-start; flex-direction: column; }
  .profile-section-header h2 { font-size: 24px; }
  .profile-stat-grid { grid-template-columns: 1fr 1fr; }
  .profile-stat-card { min-height: 96px; }
  .profile-content-card { padding: 16px; border-radius: 17px; }
  .profile-empty-state { min-height: 220px; padding-inline: 12px; }
  .profile-panel-card .profile-empty-state { min-height: 270px; }
  .profile-safety-note { font-size: 11px; }
}

/* Personal center dashboard refinement */
.profile-dashboard {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.profile-dashboard > .profile-sidebar {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 18px;
  background: transparent;
  box-shadow: none;
}

.profile-account-card,
.profile-recent-card {
  border: 1px solid rgba(208, 218, 233, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--pilot-card-shadow);
}

.profile-account-card { padding: 20px; }
.profile-account-card .profile-sidebar-label { margin: 0 0 18px; }

.profile-account-head { display: flex; align-items: center; gap: 12px; }

.profile-avatar-compact {
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 19px;
}

.profile-avatar-compact img { border-radius: 14px; }

.profile-account-head strong { display: block; color: var(--pilot-text); font-size: 15px; }
.profile-account-head div > span { display: block; margin-top: 5px; color: var(--pilot-text-tertiary); font-size: 11px; }

.profile-account-status {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(208, 218, 233, 0.58);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pilot-text-secondary);
  font-size: 12px;
}

.profile-account-status strong { display: inline-flex; align-items: center; gap: 6px; color: var(--pilot-text-secondary); font-size: 12px; }
.profile-account-status i { width: 7px; height: 7px; border-radius: 50%; background: #a9b4c7; }

.profile-account-placeholder {
  min-height: 42px;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(248, 250, 255, 0.9);
  color: var(--pilot-text-tertiary);
  font-size: 11px;
}

.profile-account-placeholder i { color: var(--pilot-brand-strong); }

.profile-account-login {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  justify-content: center;
  font-size: 12px;
}

.profile-recent-card { padding: 18px 20px 20px; }
.profile-recent-card .profile-card-title > i { color: var(--pilot-brand-strong); font-size: 14px; }
.profile-recent-copy { margin: 14px 0 16px; color: var(--pilot-text-secondary); font-size: 12px; line-height: 1.7; }

.profile-inline-action,
.profile-text-action {
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--pilot-brand-strong);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.profile-inline-action:hover,
.profile-inline-action:focus-visible,
.profile-text-action:hover,
.profile-text-action:focus-visible { color: var(--pilot-brand); }

.profile-dashboard > .profile-sidebar .profile-sidebar-note {
  margin-top: 0;
  padding: 14px 12px;
  border: 1px solid rgba(208, 218, 233, 0.66);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.profile-dashboard > .profile-main {
  min-width: 0;
  padding: 24px 26px 28px;
  border-radius: 22px;
}

.profile-dashboard-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.profile-dashboard-header p { margin: 0 0 6px; color: var(--pilot-brand-strong); font-size: 12px; font-weight: 700; }
.profile-dashboard-header h1 { margin: 0; color: var(--pilot-text); font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.profile-dashboard-header > div > span { display: block; margin-top: 8px; color: var(--pilot-text-secondary); font-size: 13px; line-height: 1.6; }

.profile-main > .profile-tab-list {
  margin-top: 22px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(208, 218, 233, 0.74);
  display: flex;
  gap: 8px;
}

.profile-main > .profile-tab-list button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  gap: 8px;
  color: var(--pilot-text-secondary);
  font-size: 12px;
}

.profile-main > .profile-tab-list button > i:first-child {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f1f4fa;
  font-size: 11px;
}

.profile-main > .profile-tab-list button.is-active { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.profile-main > .profile-tab-list button.is-active > i:first-child { background: var(--pilot-brand); }
.profile-main > .profile-panel-card { margin-top: 24px; }

.profile-account-banner {
  margin-top: 20px;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pilot-brand);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(79, 104, 255, 0.18);
}

.profile-account-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.16);
  font-size: 16px;
}

.profile-account-banner div { flex: 1; min-width: 0; }
.profile-account-banner strong { display: block; font-size: 14px; }
.profile-account-banner div > span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: 11px; line-height: 1.5; }
.profile-account-banner .button { min-height: 38px; padding: 0 13px; border-radius: 10px; background: #ffffff; color: var(--pilot-brand-strong); font-size: 12px; white-space: nowrap; }
.profile-account-banner .button:hover, .profile-account-banner .button:focus-visible { background: #f3f5ff; }

.profile-stat-grid { margin-top: 16px; gap: 10px; }
.profile-stat-card { min-height: 102px; padding: 14px; border-radius: 15px; background: rgba(255, 255, 255, 0.88); }
.profile-stat-card > span { display: flex; align-items: center; gap: 7px; color: var(--pilot-text-secondary); }
.profile-stat-card > span i { color: var(--pilot-brand-strong); font-size: 12px; }
.profile-stat-card strong { margin-top: 12px; font-size: 23px; }

.profile-history-card { margin-top: 16px; padding: 18px 20px 20px; }
.profile-history-card .profile-empty-state { min-height: 180px; margin-top: 14px; }
.profile-empty-state-compact h3 { margin-top: 11px; font-size: 15px; }
.profile-empty-state-compact p { margin-bottom: 13px; }

.profile-order-filters { margin-top: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(208, 218, 233, 0.66); display: flex; gap: 8px; }
.profile-order-filters span { min-height: 30px; padding: 0 12px; border-radius: 9px; display: inline-flex; align-items: center; color: var(--pilot-text-secondary); font-size: 11px; }
.profile-order-filters span.is-active { background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); font-weight: 700; }

@media (max-width: 900px) {
  .profile-dashboard { grid-template-columns: 1fr; }
  .profile-dashboard > .profile-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-dashboard > .profile-sidebar .profile-sidebar-note { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .profile-page { padding: 18px 12px 64px; }
  .profile-dashboard { margin-top: 12px; gap: 12px; }
  .profile-dashboard > .profile-sidebar { grid-template-columns: 1fr; gap: 12px; }
  .profile-dashboard > .profile-sidebar .profile-sidebar-note { grid-column: auto; }
  .profile-account-card { padding: 18px; }
  .profile-recent-card { padding: 16px 18px 18px; }
  .profile-dashboard > .profile-main { padding: 18px 14px 20px; border-radius: 20px; }
  .profile-dashboard-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .profile-dashboard-header h1 { font-size: 25px; }
  .profile-main > .profile-tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .profile-main > .profile-tab-list button { min-height: 42px; padding: 0 5px; justify-content: center; gap: 5px; font-size: 11px; }
  .profile-main > .profile-tab-list button > i:first-child { width: 22px; height: 22px; }
  .profile-account-banner { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
  .profile-account-banner .button { width: 100%; justify-content: center; }
  .profile-stat-grid { grid-template-columns: 1fr 1fr; }
  .profile-stat-card { min-height: 94px; padding: 12px; }
  .profile-history-card { padding: 16px; }
  .profile-order-filters { gap: 4px; }
  .profile-order-filters span { padding: 0 9px; }
}

/* Logged-in user-center state */
.nav-account-chip {
  min-height: 42px;
  padding: 0 10px 0 7px;
  border: 1px solid rgba(208, 218, 233, 0.82);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 14px rgba(45, 67, 102, 0.07);
}

.nav-account-chip:hover,
.nav-account-chip:focus-visible { border-color: rgba(79, 104, 255, 0.34); color: var(--pilot-brand-strong); }
.nav-account-chip > span { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); font-size: 11px; }
.nav-account-chip > i { color: var(--pilot-text-tertiary); font-size: 9px; }

.profile-logged-in { min-height: 30px; padding: 0 10px; border: 1px solid rgba(52, 190, 136, 0.2); border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: #2b9d76; font-size: 12px; white-space: nowrap; }
.profile-logged-in i { width: 7px; height: 7px; border-radius: 50%; background: #37bd88; }
.profile-account-status i.is-online { background: #37bd88; }

.profile-account-lines { margin-top: 13px; display: grid; gap: 8px; }
.profile-account-lines div { display: flex; align-items: center; gap: 8px; color: var(--pilot-text-secondary); font-size: 11px; }
.profile-account-lines i { width: 18px; color: var(--pilot-brand-strong); text-align: center; }

.profile-account-banner { background: var(--pilot-brand); }
.profile-banner-balance { min-width: 86px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.22); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.profile-banner-balance small { color: rgba(255, 255, 255, 0.75); font-size: 10px; }
.profile-banner-balance strong { color: #ffffff; font-size: 18px; line-height: 1; }

.profile-panel-count { min-height: 28px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); font-size: 11px; white-space: nowrap; }
.profile-history-summary { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.profile-history-summary div { min-height: 74px; padding: 13px 14px; border: 1px solid rgba(208, 218, 233, 0.64); border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(248, 250, 255, 0.82); }
.profile-history-summary span { color: var(--pilot-text-secondary); font-size: 11px; }
.profile-history-summary strong { color: var(--pilot-text); font-size: 18px; line-height: 1; }
.profile-panel-empty { min-height: 250px; }

.profile-form-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-form-grid div { min-height: 68px; padding: 14px; border: 1px solid rgba(208, 218, 233, 0.68); border-radius: 13px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(248, 250, 255, 0.76); }
.profile-form-grid span { color: var(--pilot-text-tertiary); font-size: 11px; }
.profile-form-grid strong { color: var(--pilot-text); font-size: 13px; }
.profile-form-grid .profile-status-text { color: #2b9d76; }

@media (max-width: 600px) {
  .profile-main > .profile-tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .profile-main > .profile-tab-list button { min-width: 0; padding-inline: 5px; font-size: 10px; white-space: nowrap; }
  .profile-main > .profile-panel-card { margin-top: 18px; }
  .profile-account-banner { gap: 9px; }
  .profile-account-banner-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
  .profile-account-banner strong { font-size: 12px; }
  .profile-account-banner div > span { font-size: 10px; }
  .profile-banner-balance { min-width: 70px; padding-left: 9px; }
  .profile-banner-balance strong { font-size: 15px; }
  .profile-history-summary { gap: 7px; }
  .profile-history-summary div { padding: 11px 9px; }
  .profile-form-grid { grid-template-columns: 1fr; }
}

/* Account menu and recharge center */
.nav-account-menu-wrap { position: relative; }
.nav-account-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(208, 218, 233, 0.86);
  border-radius: 16px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 34px rgba(42, 67, 112, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-account-menu::before {
  position: absolute;
  top: -5px;
  right: 28px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(208, 218, 233, 0.86);
  border-left: 1px solid rgba(208, 218, 233, 0.86);
  background: rgba(255, 255, 255, 0.97);
  content: "";
  transform: rotate(45deg);
}
.nav-account-menu a {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.nav-account-menu a:hover,
.nav-account-menu a:focus-visible { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.nav-account-menu a i { width: 18px; color: var(--pilot-brand-strong); text-align: center; }

.recharge-page {
  min-height: calc(100vh - 210px);
  padding: 28px clamp(20px, 3vw, 56px) 96px;
  background: var(--pilot-canvas);
}
.recharge-page-inner { width: min(100%, 1180px); margin: 0 auto; }
.recharge-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.recharge-sidebar,
.recharge-main {
  border: 1px solid rgba(208, 218, 233, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--pilot-card-shadow);
}
.recharge-sidebar { padding: 18px 12px 14px; }
.recharge-side-account {
  padding: 4px 6px 16px;
  border-bottom: 1px solid rgba(208, 218, 233, 0.62);
  display: flex;
  align-items: center;
  gap: 10px;
}
.recharge-side-account .profile-avatar { width: 46px; height: 46px; padding: 5px; border-radius: 16px; }
.recharge-side-account .profile-avatar img { border-radius: 12px; }
.recharge-side-account strong { display: block; color: var(--pilot-text); font-size: 13px; }
.recharge-side-account span:not(.profile-avatar) { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--pilot-text-tertiary); font-size: 11px; }
.recharge-side-account .is-online { width: 7px; height: 7px; border-radius: 50%; background: #37bd88; }
.recharge-side-nav { margin-top: 12px; display: grid; gap: 4px; }
.recharge-side-nav a {
  min-height: 42px;
  padding: 0 11px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pilot-text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.recharge-side-nav a:hover,
.recharge-side-nav a:focus-visible { color: var(--pilot-brand-strong); background: rgba(237, 242, 255, 0.72); transform: translateX(1px); }
.recharge-side-nav a.is-active { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.recharge-side-nav a i { width: 21px; text-align: center; color: var(--pilot-brand-strong); }
.recharge-main { min-width: 0; padding: 26px; }
.recharge-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.recharge-header p { margin: 0 0 6px; color: var(--pilot-brand-strong); font-size: 12px; font-weight: 700; }
.recharge-header h1 { margin: 0; color: var(--pilot-text); font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.recharge-header > div > span { display: block; margin-top: 8px; color: var(--pilot-text-secondary); font-size: 13px; line-height: 1.6; }
.recharge-balance-card {
  margin-top: 22px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid rgba(79, 104, 255, 0.14);
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(110deg, rgba(237, 242, 255, 0.92), rgba(248, 250, 255, 0.9));
}
.recharge-balance-card span { display: block; color: var(--pilot-text-secondary); font-size: 12px; }
.recharge-balance-card strong { display: block; margin-top: 6px; color: var(--pilot-brand-strong); font-size: 26px; line-height: 1; }
.recharge-balance-note { display: inline-flex !important; align-items: center; gap: 7px; color: var(--pilot-text-tertiary) !important; font-size: 11px !important; white-space: nowrap; }
.recharge-balance-note i { color: var(--pilot-brand-strong); }
.recharge-form { margin-top: 18px; display: grid; gap: 14px; }
.recharge-card { padding: 20px; border: 1px solid rgba(208, 218, 233, 0.74); border-radius: 17px; background: rgba(255, 255, 255, 0.72); }
.recharge-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.recharge-section-heading p { margin: 0 0 5px; color: var(--pilot-brand-strong); font-size: 11px; font-weight: 700; }
.recharge-section-heading h2 { margin: 0; color: var(--pilot-text); font-size: 17px; line-height: 1.25; }
.recharge-section-heading > span { color: var(--pilot-text-tertiary); font-size: 11px; }
.recharge-amount-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.recharge-amount-grid button {
  min-height: 78px;
  padding: 12px 10px;
  border: 1px solid rgba(208, 218, 233, 0.88);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  background: rgba(248, 250, 255, 0.78);
  color: var(--pilot-text-secondary);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.recharge-amount-grid button:hover,
.recharge-amount-grid button:focus-visible { border-color: rgba(79, 104, 255, 0.45); background: var(--pilot-brand-soft); transform: translateY(-1px); }
.recharge-amount-grid button.is-active { border-color: rgba(79, 104, 255, 0.75); background: var(--pilot-brand-soft); box-shadow: inset 0 0 0 1px rgba(79, 104, 255, 0.22); }
.recharge-amount-grid button strong { color: var(--pilot-text); font-size: 19px; line-height: 1; }
.recharge-amount-grid button.is-active strong { color: var(--pilot-brand-strong); }
.recharge-amount-grid button span { color: var(--pilot-text-tertiary); font-size: 10px; }
.recharge-custom-field { margin-top: 18px; display: grid; gap: 8px; color: var(--pilot-text-secondary); font-size: 11px; font-weight: 600; }
.recharge-input-wrap { min-height: 46px; padding: 0 13px; border: 1px solid rgba(208, 218, 233, 0.88); border-radius: 12px; display: flex; align-items: center; gap: 8px; background: #ffffff; }
.recharge-input-wrap:focus-within { outline: 2px solid rgba(79, 104, 255, 0.24); outline-offset: 2px; border-color: rgba(79, 104, 255, 0.5); }
.recharge-input-wrap b { color: var(--pilot-text-tertiary); font-size: 14px; }
.recharge-input-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--pilot-text); font-size: 14px; background: transparent; }
.recharge-input-wrap input::placeholder { color: var(--pilot-text-tertiary); }
.recharge-payment-row { margin-top: 16px; min-height: 66px; padding: 11px 13px; border: 1px solid rgba(208, 218, 233, 0.74); border-radius: 13px; display: flex; align-items: center; gap: 11px; background: rgba(248, 250, 255, 0.72); }
.recharge-payment-icon { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); }
.recharge-payment-row div { flex: 1; min-width: 0; }
.recharge-payment-row strong { display: block; color: var(--pilot-text); font-size: 12px; }
.recharge-payment-row div span { display: block; margin-top: 3px; color: var(--pilot-text-tertiary); font-size: 10px; line-height: 1.5; }
.recharge-payment-row > i { color: var(--pilot-text-tertiary); font-size: 10px; }
.recharge-submit-row { margin-top: 4px; display: flex; align-items: center; gap: 13px; }
.recharge-submit-row .button { min-height: 44px; border-radius: 12px; }
.recharge-submit-row > span { color: var(--pilot-text-tertiary); font-size: 11px; }
.recharge-notice { min-height: 18px; margin: 0; color: var(--pilot-brand-strong); font-size: 11px; }

@media (max-width: 900px) {
  .recharge-layout { grid-template-columns: 1fr; gap: 14px; }
  .recharge-sidebar { padding: 12px; }
  .recharge-side-account { padding: 2px 6px 12px; }
  .recharge-side-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .recharge-side-nav a { min-height: 38px; padding: 0 7px; justify-content: center; gap: 5px; font-size: 10px; }
  .recharge-side-nav a i { width: auto; }
}

@media (max-width: 600px) {
  .recharge-page { padding: 18px 12px 64px; }
  .recharge-layout { margin-top: 12px; }
  .recharge-main { padding: 18px 14px 20px; border-radius: 20px; }
  .recharge-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .recharge-header h1 { font-size: 25px; }
  .recharge-balance-card { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px; }
  .recharge-balance-note { padding-top: 2px; }
  .recharge-card { padding: 16px; }
  .recharge-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .recharge-amount-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .recharge-amount-grid button { min-height: 70px; }
  .recharge-submit-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .recharge-submit-row .button { width: 100%; }
  .recharge-side-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Login */
.login-page {
  min-height: calc(100vh - 184px);
  padding: 54px clamp(20px, 4vw, 72px) 96px;
  display: grid;
  place-items: start center;
  background:
    radial-gradient(circle at 18% 14%, rgba(123, 144, 255, 0.1), transparent 34%),
    radial-gradient(circle at 86% 74%, rgba(167, 222, 255, 0.13), transparent 32%),
    var(--pilot-canvas);
}

.login-shell {
  width: min(100%, 1140px);
  min-height: 640px;
  border: 1px solid rgba(208, 218, 233, 0.8);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 72px rgba(42, 67, 112, 0.1);
}

.login-intro {
  position: relative;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  background-color: #f3f7ff;
  background-image: url("/assets/user/images/homepage-pilot/aurora-ribbon.png");
  background-position: center;
  background-size: cover;
}

.login-orbit-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  isolation: isolate;
}

.login-visual-globe {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(88%, 470px);
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(16px 20px 32px rgba(75, 172, 230, 0.13));
  animation: login-globe-drift 8s ease-in-out infinite;
}

.login-visual-plaque {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(55%, 286px);
  max-width: none;
  transform: translate(-50%, -50%) rotate(-2deg);
  filter: drop-shadow(0 14px 24px rgba(79, 104, 255, 0.12));
  animation: login-plaque-drift 6.5s ease-in-out infinite;
}

.login-visual-icon {
  --login-icon-rotate: 0deg;
  position: absolute;
  z-index: 4;
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 12px 22px rgba(44, 70, 120, 0.1));
  animation: login-icon-drift 6s ease-in-out infinite;
}
.login-visual-icon img { width: 100%; height: 100%; object-fit: contain; }
.login-orbit-instagram { --login-icon-rotate: -5deg; top: 4%; left: 15%; animation-delay: -0.8s; }
.login-orbit-tiktok { --login-icon-rotate: 5deg; top: 6%; right: 7%; animation-delay: -3.2s; }
.login-orbit-facebook { --login-icon-rotate: -6deg; top: 40%; left: 1%; animation-delay: -2.1s; }
.login-orbit-google { --login-icon-rotate: 5deg; top: 42%; right: -1%; animation-delay: -4.6s; }
.login-orbit-x { --login-icon-rotate: 5deg; bottom: 5%; left: 15%; animation-delay: -3.8s; }
.login-orbit-telegram { --login-icon-rotate: -5deg; right: 9%; bottom: 4%; animation-delay: -2.6s; }

@keyframes login-globe-drift {
  0%, 100% { transform: translate(-50%, calc(-50% + 8px)) rotate(-0.6deg) scale(0.99); }
  50% { transform: translate(-50%, calc(-50% - 10px)) rotate(0.6deg) scale(1.015); }
}

@keyframes login-plaque-drift {
  0%, 100% { transform: translate(-50%, calc(-50% - 4px)) rotate(-2.2deg); }
  50% { transform: translate(-50%, calc(-50% + 7px)) rotate(-1.2deg); }
}

@keyframes login-icon-drift {
  0%, 100% { transform: translate(0, 5px) rotate(var(--login-icon-rotate)) scale(0.98); }
  50% { transform: translate(4px, -7px) rotate(var(--login-icon-rotate)) scale(1.04); }
}

.login-form-card > header p {
  margin: 0 0 7px;
  color: var(--pilot-brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.login-form-card {
  padding: 60px 58px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
}
.login-form-card > header h2 { margin: 0; color: var(--pilot-text); font-size: 32px; line-height: 1.2; letter-spacing: -0.025em; }
.login-form-card > header > span { display: block; margin-top: 9px; color: var(--pilot-text-secondary); font-size: 14px; }
.login-form-card form { margin-top: 30px; display: grid; gap: 19px; }
.login-field { display: grid; gap: 8px; color: var(--pilot-text-secondary); font-size: 13px; font-weight: 600; }
.login-field > div {
  min-height: 52px;
  padding: 0 13px;
  border: 1px solid rgba(208, 218, 233, 0.92);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(248, 250, 255, 0.82);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.login-field > div:focus-within { border-color: rgba(79, 104, 255, 0.54); background: #ffffff; box-shadow: 0 0 0 3px rgba(79, 104, 255, 0.09); }
.login-field > div > i { width: 17px; color: var(--pilot-text-tertiary); text-align: center; }
.login-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--pilot-text); font-size: 15px; }
.login-field input::placeholder { color: #98a4b7; }
.login-field button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; background: transparent; color: var(--pilot-text-tertiary); cursor: pointer; }
.login-field button:hover,
.login-field button:focus-visible { background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); }
.login-verification-status {
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid rgba(208, 218, 233, 0.84);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(246, 248, 252, 0.78);
}
.login-verification-status > span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); }
.login-verification-status > div { min-width: 0; flex: 1; }
.login-verification-status strong { display: block; color: var(--pilot-text); font-size: 13px; }
.login-verification-status small { display: block; margin-top: 3px; color: var(--pilot-text-secondary); font-size: 12px; line-height: 1.45; }
.login-verification-status em { padding: 5px 8px; border-radius: 999px; flex: 0 0 auto; background: #edf1f7; color: var(--pilot-text-secondary); font-size: 11px; font-style: normal; font-weight: 700; }
.login-form-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.login-form-options label { display: inline-flex; align-items: center; gap: 8px; color: var(--pilot-text-secondary); font-size: 13px; cursor: pointer; }
.login-form-options input { width: 16px; height: 16px; accent-color: var(--pilot-brand); }
.login-form-options a { color: var(--pilot-brand-strong); font-size: 13px; font-weight: 600; }
.login-submit { width: 100%; min-height: 52px; margin-top: 2px; border-radius: 13px; font-size: 15px; }
.login-notice { min-height: 38px; margin: -4px 0 0; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.6; text-align: center; }
.login-notice.is-error { color: #b64d59; }
.login-notice.is-success { color: #14815d; }
.login-form-card > footer { margin-top: 18px; padding-top: 20px; border-top: 1px solid rgba(208, 218, 233, 0.7); display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--pilot-text-tertiary); font-size: 13px; }
.login-form-card > footer a { color: var(--pilot-brand-strong); font-weight: 700; }

.register-form-card {
  padding-block: 42px 34px;
}

.register-form-card form {
  margin-top: 24px;
  gap: 15px;
}

.register-verification-field {
  display: grid;
  gap: 8px;
  color: var(--pilot-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.register-verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 158px;
  gap: 10px;
}

.register-verification-input,
.register-captcha-preview {
  min-height: 52px;
  border: 1px solid rgba(208, 218, 233, 0.92);
  border-radius: 13px;
  display: flex;
  align-items: center;
}

.register-verification-input {
  padding: 0 13px;
  gap: 11px;
  background: rgba(248, 250, 255, 0.82);
  color: #98a4b7;
  font-size: 14px;
  font-weight: 500;
}

.register-verification-input > i {
  width: 17px;
  color: var(--pilot-text-tertiary);
  text-align: center;
}

.register-captcha-preview {
  padding: 0 12px;
  gap: 8px;
  justify-content: center;
  background: rgba(245, 248, 255, 0.9);
  color: var(--pilot-brand-strong);
}

.register-captcha-preview strong {
  color: var(--pilot-text);
  font-size: 12px;
  white-space: nowrap;
}

.register-captcha-preview em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #edf1f7;
  color: var(--pilot-text-secondary);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.register-verification-field > small {
  color: var(--pilot-text-tertiary);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

/* Tutorial library */
.tutorial-page {
  min-height: calc(100vh - 210px);
  padding: 28px clamp(20px, 3vw, 56px) 96px;
  background: var(--pilot-canvas);
}
.tutorial-hero,
.tutorial-layout { width: min(100%, 1180px); margin-inline: auto; }
.tutorial-hero {
  min-height: 172px;
  padding: 30px 32px;
  border: 1px solid rgba(208, 218, 233, 0.78);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.94), rgba(240, 245, 255, 0.88));
  box-shadow: var(--pilot-card-shadow);
}
.tutorial-hero p,
.tutorial-sidebar header p,
.tutorial-results-header > div > p { margin: 0 0 6px; color: var(--pilot-brand-strong); font-size: 13px; font-weight: 700; }
.tutorial-hero h1 { margin: 0; color: var(--pilot-text); font-size: 32px; line-height: 1.18; letter-spacing: -0.03em; }
.tutorial-hero > div > span { display: block; max-width: 600px; margin-top: 9px; color: var(--pilot-text-secondary); font-size: 15px; line-height: 1.7; }
.tutorial-start-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tutorial-start-actions .button { min-height: 44px; border-radius: 12px; }
.tutorial-layout { margin-top: 18px; display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 20px; }
.tutorial-sidebar,
.tutorial-results { border: 1px solid rgba(208, 218, 233, 0.76); border-radius: 22px; background: rgba(255, 255, 255, 0.86); box-shadow: var(--pilot-card-shadow); }
.tutorial-sidebar { padding: 20px 12px 14px; }
.tutorial-sidebar header { padding: 0 8px 13px; border-bottom: 1px solid rgba(208, 218, 233, 0.62); }
.tutorial-sidebar h2 { margin: 0; color: var(--pilot-text); font-size: 20px; }
.tutorial-sidebar nav { margin-top: 10px; display: grid; gap: 3px; }
.tutorial-sidebar nav button {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  color: var(--pilot-text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tutorial-sidebar nav button:hover,
.tutorial-sidebar nav button:focus-visible { color: var(--pilot-brand-strong); background: rgba(237, 242, 255, 0.68); }
.tutorial-sidebar nav button.is-active { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.tutorial-sidebar nav small { min-width: 24px; color: var(--pilot-text-tertiary); font-size: 12px; text-align: right; }
.tutorial-safety-note { margin-top: 14px; padding: 13px 11px; border-radius: 12px; display: flex; align-items: flex-start; gap: 9px; background: rgba(246, 248, 252, 0.9); }
.tutorial-safety-note > i { margin-top: 2px; color: var(--pilot-brand-strong); }
.tutorial-safety-note p { margin: 0; }
.tutorial-safety-note strong { display: block; color: var(--pilot-text); font-size: 13px; }
.tutorial-safety-note span { display: block; margin-top: 4px; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.6; }
.tutorial-results { min-width: 0; padding: 24px; }
.tutorial-results-header { padding-bottom: 19px; border-bottom: 1px solid rgba(208, 218, 233, 0.68); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tutorial-results-header h2 { margin: 0; color: var(--pilot-text); font-size: 26px; line-height: 1.2; }
.tutorial-results-header > div > span { display: block; margin-top: 7px; color: var(--pilot-text-tertiary); font-size: 13px; }
.tutorial-search {
  width: min(100%, 330px);
  min-height: 44px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(208, 218, 233, 0.92);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 250, 255, 0.88);
}
.tutorial-search:focus-within { border-color: rgba(79, 104, 255, 0.54); box-shadow: 0 0 0 3px rgba(79, 104, 255, 0.08); }
.tutorial-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--pilot-text); font-size: 14px; }
.tutorial-search input::placeholder { color: var(--pilot-text-tertiary); }
.tutorial-search button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); cursor: pointer; }
.tutorial-list {
  max-height: min(72vh, 860px);
  padding-top: 8px;
  padding-right: 8px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(89, 112, 224, 0.68) rgba(229, 235, 247, 0.86);
  display: grid;
}
.tutorial-list::-webkit-scrollbar { width: 9px; }
.tutorial-list::-webkit-scrollbar-track { margin: 8px 0; border-radius: 999px; background: rgba(229, 235, 247, 0.86); }
.tutorial-list::-webkit-scrollbar-thumb { min-height: 54px; border: 2px solid rgba(229, 235, 247, 0.86); border-radius: 999px; background: rgba(89, 112, 224, 0.68); }
.tutorial-list::-webkit-scrollbar-thumb:hover { background: rgba(79, 104, 255, 0.86); }
.tutorial-item { border-bottom: 1px solid rgba(208, 218, 233, 0.58); }
.tutorial-item:last-child { border-bottom: 0; }
.tutorial-item-toggle { width: 100%; min-height: 92px; padding: 14px 10px; border: 0; display: flex; align-items: center; gap: 14px; background: transparent; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.tutorial-item-toggle:hover,
.tutorial-item-toggle:focus-visible { background: rgba(247, 249, 253, 0.82); }
.tutorial-item-icon { width: 48px; height: 48px; padding: 8px; border: 1px solid rgba(208, 218, 233, 0.76); border-radius: 15px; display: grid; place-items: center; flex: 0 0 auto; background: #ffffff; }
.tutorial-item-icon img { width: 100%; height: 100%; object-fit: contain; }
.tutorial-item-icon i { color: var(--pilot-brand-strong); font-size: 16px; }
.tutorial-item-copy { min-width: 0; flex: 1; display: grid; gap: 5px; font-style: normal; }
.tutorial-item-copy > small { color: var(--pilot-brand-strong); font-size: 12px; font-weight: 600; }
.tutorial-item-heading { min-width: 0; display: flex; align-items: center; gap: 10px; }
.tutorial-item-heading > strong { min-width: 0; overflow: hidden; color: var(--pilot-text); font-size: 15px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.tutorial-video-tag { min-height: 25px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; background: var(--pilot-brand); color: #ffffff; font-size: 11px; line-height: 25px; font-weight: 700; }
.tutorial-video-tag i { font-size: 10px; }
.tutorial-item-copy em { color: var(--pilot-text-tertiary); font-size: 12px; font-style: normal; }
.tutorial-item-toggle > i { color: var(--pilot-text-tertiary); font-size: 10px; transition: transform 180ms ease; }
.tutorial-item-toggle:hover > i,
.tutorial-item-toggle:focus-visible > i { color: var(--pilot-brand-strong); transform: translateX(2px); }
.tutorial-empty { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tutorial-empty > span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--pilot-brand-soft); color: var(--pilot-brand-strong); }
.tutorial-empty strong { margin-top: 14px; color: var(--pilot-text); font-size: 14px; }
.tutorial-empty p { margin: 6px 0 16px; color: var(--pilot-text-tertiary); font-size: 11px; }
.tutorial-empty .button { min-height: 40px; border-radius: 11px; font-size: 12px; }

/* Tutorial content page */
.tutorial-detail-page {
  min-height: calc(100vh - 210px);
  padding: 24px clamp(20px, 3vw, 56px) 96px;
  background: var(--pilot-canvas);
}
.tutorial-detail-shell { width: min(100%, 1180px); margin-inline: auto; }
.tutorial-detail-breadcrumbs { min-height: 28px; display: flex; align-items: center; gap: 8px; color: var(--pilot-text-tertiary); font-size: 12px; white-space: nowrap; overflow: hidden; }
.tutorial-detail-breadcrumbs a { color: var(--pilot-text-secondary); }
.tutorial-detail-breadcrumbs a:hover,
.tutorial-detail-breadcrumbs a:focus-visible { color: var(--pilot-brand-strong); }
.tutorial-detail-breadcrumbs i { color: var(--pilot-text-tertiary); font-size: 8px; }
.tutorial-detail-breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tutorial-detail-header { margin-top: 12px; padding: 28px 32px; border: 1px solid rgba(208, 218, 233, 0.78); border-radius: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; background: linear-gradient(118deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 255, 0.88)); box-shadow: var(--pilot-card-shadow); }
.tutorial-detail-heading { min-width: 0; flex: 1; }
.tutorial-back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--pilot-brand-strong); font-size: 13px; font-weight: 700; }
.tutorial-back-link:hover,
.tutorial-back-link:focus-visible { color: var(--pilot-brand); }
.tutorial-detail-meta { margin-top: 19px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tutorial-platform-pill,
.tutorial-type-pill { min-height: 30px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; color: var(--pilot-text-secondary); background: rgba(247, 249, 253, 0.92); font-size: 12px; font-weight: 700; }
.tutorial-platform-pill img { width: 18px; height: 18px; object-fit: contain; }
.tutorial-platform-pill i { color: var(--pilot-brand-strong); }
.tutorial-type-pill { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.tutorial-type-pill.is-video { color: #ffffff; background: var(--pilot-brand); }
.tutorial-detail-heading h1 { max-width: 800px; margin: 14px 0 0; color: var(--pilot-text); font-size: clamp(27px, 3vw, 36px); line-height: 1.28; letter-spacing: -0.03em; }
.tutorial-detail-heading > p { max-width: 760px; margin: 10px 0 0; color: var(--pilot-text-secondary); font-size: 15px; line-height: 1.75; }
.tutorial-detail-start-card { width: 228px; flex: 0 0 auto; padding: 16px 17px; border: 1px solid rgba(208, 218, 233, 0.78); border-radius: 15px; background: rgba(255, 255, 255, 0.72); }
.tutorial-detail-start-card p { margin: 0 0 10px; color: var(--pilot-text); font-size: 13px; font-weight: 700; }
.tutorial-detail-start-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tutorial-detail-start-card li { display: flex; align-items: center; gap: 8px; color: var(--pilot-text-secondary); font-size: 12px; }
.tutorial-detail-start-card li::before { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: #35bc87; content: ""; }
.tutorial-detail-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 20px; }
.tutorial-detail-article,
.tutorial-detail-rail > section { border: 1px solid rgba(208, 218, 233, 0.78); border-radius: 22px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--pilot-card-shadow); }
.tutorial-detail-article { min-width: 0; padding: 28px 32px 26px; }
.tutorial-detail-video { margin-bottom: 27px; padding: 17px 18px; border: 1px solid rgba(79, 104, 255, 0.2); border-radius: 15px; display: flex; align-items: center; gap: 14px; background: linear-gradient(110deg, rgba(237, 242, 255, 0.92), rgba(248, 250, 255, 0.94)); }
.tutorial-detail-video-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; color: #ffffff; background: var(--pilot-brand); font-size: 18px; box-shadow: 0 8px 18px rgba(79, 104, 255, 0.18); }
.tutorial-detail-video b { color: var(--pilot-brand-strong); font-size: 12px; }
.tutorial-detail-video h2 { margin: 3px 0 0; color: var(--pilot-text); font-size: 16px; }
.tutorial-detail-video p { margin: 3px 0 0; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.6; }
.tutorial-detail-video-state { margin-left: auto; padding: 5px 9px; border-radius: 999px; color: var(--pilot-text-tertiary); background: rgba(255, 255, 255, 0.76); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tutorial-detail-article-head { padding-bottom: 19px; border-bottom: 1px solid rgba(208, 218, 233, 0.68); }
.tutorial-detail-article-head p { margin: 0 0 6px; color: var(--pilot-brand-strong); font-size: 13px; font-weight: 700; }
.tutorial-detail-article-head h2 { margin: 0; color: var(--pilot-text); font-size: 25px; line-height: 1.25; }
.tutorial-detail-article-head span { display: block; margin-top: 7px; color: var(--pilot-text-tertiary); font-size: 13px; line-height: 1.65; }
.tutorial-detail-steps { display: grid; }
.tutorial-detail-step { padding: 25px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 15px; border-bottom: 1px solid rgba(208, 218, 233, 0.58); scroll-margin-top: 100px; }
.tutorial-detail-step:last-child { border-bottom: 0; }
.tutorial-detail-step-number { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); font-size: 12px; font-weight: 800; }
.tutorial-detail-step h3 { margin: 0; color: var(--pilot-text); font-size: 17px; line-height: 1.45; }
.tutorial-detail-step p { margin: 7px 0 0; color: var(--pilot-text-secondary); font-size: 14px; line-height: 1.85; }
.tutorial-detail-step ul { margin: 11px 0 0; padding-left: 18px; color: var(--pilot-text-secondary); font-size: 13px; line-height: 1.9; }
.tutorial-detail-tip { margin-top: 12px; padding: 10px 12px; border-radius: 10px; display: flex; align-items: flex-start; gap: 8px; color: #8c6a2b; background: #fff9ea; font-size: 12px; line-height: 1.6; }
.tutorial-detail-tip i { margin-top: 3px; }
.tutorial-detail-copy { padding: 25px 0; color: var(--pilot-text-secondary); font-size: 14px; line-height: 1.85; }
.tutorial-detail-copy p { margin: 0; }
.tutorial-detail-copy p + p { margin-top: 8px; }
.tutorial-detail-pending { margin-top: 18px; padding: 12px 13px; border-radius: 11px; display: flex; align-items: flex-start; gap: 8px; color: var(--pilot-text-tertiary); background: rgba(246, 248, 252, 0.9); font-size: 12px; line-height: 1.65; }
.tutorial-detail-pending i { margin-top: 3px; color: var(--pilot-brand-strong); }
.tutorial-detail-safety { margin-top: 6px; padding: 15px 16px; border-radius: 13px; display: flex; align-items: flex-start; gap: 10px; background: rgba(246, 248, 252, 0.9); }
.tutorial-detail-safety > i { margin-top: 3px; color: var(--pilot-brand-strong); }
.tutorial-detail-safety b { color: var(--pilot-text); font-size: 13px; }
.tutorial-detail-safety p { margin: 4px 0 0; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.7; }
.tutorial-detail-actions { margin-top: 24px; padding-top: 21px; border-top: 1px solid rgba(208, 218, 233, 0.68); display: flex; justify-content: space-between; gap: 12px; }
.tutorial-detail-actions .button { min-height: 42px; border-radius: 12px; }
.tutorial-detail-rail { display: grid; gap: 12px; }
.tutorial-detail-rail > section { padding: 18px 16px; }
.tutorial-detail-rail > section > p { margin: 0 0 11px; color: var(--pilot-text); font-size: 13px; font-weight: 700; }
.tutorial-detail-rail > section > a { min-height: 36px; padding: 0 7px; border-radius: 9px; display: flex; align-items: center; gap: 9px; color: var(--pilot-text-secondary); font-size: 12px; line-height: 1.4; }
.tutorial-detail-rail > section > a:hover,
.tutorial-detail-rail > section > a:focus-visible { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.tutorial-detail-rail > section > a span { color: var(--pilot-brand-strong); font-size: 11px; font-weight: 800; }
.tutorial-detail-rail-format { min-height: 39px; padding: 0 9px; border-radius: 10px; display: flex; align-items: center; gap: 8px; color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); font-size: 13px; font-weight: 700; }
.tutorial-detail-rail-format i { font-size: 14px; }
.tutorial-detail-rail > section > small { display: block; margin-top: 9px; color: var(--pilot-text-tertiary); font-size: 11px; line-height: 1.6; }
.tutorial-detail-rail-note { display: flex; align-items: flex-start; gap: 9px; background: rgba(246, 248, 252, 0.9) !important; box-shadow: none !important; }
.tutorial-detail-rail-note > i { margin-top: 2px; color: var(--pilot-brand-strong); }
.tutorial-detail-rail-note b { color: var(--pilot-text); font-size: 13px; }
.tutorial-detail-rail-note p { margin: 4px 0 0 !important; color: var(--pilot-text-tertiary) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.6; }

/* Customer tools */
.tool-page { min-height: calc(100vh - 210px); padding: 24px clamp(20px, 3vw, 56px) 96px; background: var(--pilot-canvas); }
.tool-page-shell { width: min(100%, 1180px); margin-inline: auto; }
.tool-breadcrumbs { min-height: 28px; display: flex; align-items: center; gap: 8px; color: var(--pilot-text-tertiary); font-size: 12px; }
.tool-breadcrumbs a { color: var(--pilot-text-secondary); }
.tool-breadcrumbs a:hover,
.tool-breadcrumbs a:focus-visible { color: var(--pilot-brand-strong); }
.tool-breadcrumbs i { color: var(--pilot-text-tertiary); font-size: 8px; }
.tool-page-header { margin-top: 12px; padding: 28px 32px; border: 1px solid rgba(208, 218, 233, 0.78); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(118deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 255, 0.88)); box-shadow: var(--pilot-card-shadow); }
.tool-page-heading { min-width: 0; display: flex; align-items: center; gap: 16px; }
.tool-page-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto; color: #ffffff; background: var(--pilot-brand); box-shadow: 0 9px 20px rgba(79, 104, 255, 0.18); font-size: 20px; }
.tool-page-heading p { margin: 0 0 5px; color: var(--pilot-brand-strong); font-size: 13px; font-weight: 700; }
.tool-page-heading h1 { margin: 0; color: var(--pilot-text); font-size: clamp(27px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.03em; }
.tool-page-heading > div > span { display: block; margin-top: 7px; color: var(--pilot-text-secondary); font-size: 14px; line-height: 1.65; }
.tool-page-back { min-height: 40px; padding: 0 14px; border: 1px solid rgba(208, 218, 233, 0.86); border-radius: 11px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--pilot-text-secondary); background: rgba(255, 255, 255, 0.75); font-size: 13px; font-weight: 700; }
.tool-page-back:hover,
.tool-page-back:focus-visible { color: var(--pilot-brand-strong); border-color: rgba(79, 104, 255, 0.35); background: var(--pilot-brand-soft); }
.tool-workspace { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.tool-card { min-width: 0; padding: 26px 28px; border: 1px solid rgba(208, 218, 233, 0.78); border-radius: 22px; background: rgba(255, 255, 255, 0.9); box-shadow: var(--pilot-card-shadow); }
.tool-card > header p { margin: 0 0 6px; color: var(--pilot-brand-strong); font-size: 13px; font-weight: 700; }
.tool-card > header h2 { margin: 0; color: var(--pilot-text); font-size: 23px; line-height: 1.28; }
.tool-card > header span { display: block; margin-top: 7px; color: var(--pilot-text-tertiary); font-size: 13px; line-height: 1.65; }
.tool-form-card form { margin-top: 22px; }
.tool-field { display: grid; gap: 8px; }
.tool-field > span { color: var(--pilot-text); font-size: 13px; font-weight: 700; }
.tool-field textarea,
.tool-field input { width: 100%; padding: 12px 13px; border: 1px solid rgba(208, 218, 233, 0.94); border-radius: 12px; outline: none; resize: vertical; color: var(--pilot-text); background: rgba(248, 250, 255, 0.88); font: inherit; font-size: 14px; line-height: 1.6; }
.tool-field textarea { min-height: 144px; }
.tool-field textarea:focus,
.tool-field input:focus { border-color: rgba(79, 104, 255, 0.58); box-shadow: 0 0 0 3px rgba(79, 104, 255, 0.1); }
.tool-field textarea::placeholder,
.tool-field input::placeholder { color: var(--pilot-text-tertiary); }
.tool-input-with-action { position: relative; }
.tool-input-with-action input { padding-right: 44px; }
.tool-input-with-action button { position: absolute; top: 7px; right: 7px; width: 30px; height: 30px; border: 0; border-radius: 8px; display: grid; place-items: center; color: var(--pilot-text-tertiary); background: transparent; cursor: pointer; }
.tool-input-with-action button:hover,
.tool-input-with-action button:focus-visible { color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); }
.tool-field-help { margin: 10px 0 0; display: flex; align-items: flex-start; gap: 7px; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.6; }
.tool-field-help i { margin-top: 3px; color: var(--pilot-brand-strong); }
.tool-form-actions { margin-top: 18px; display: flex; gap: 9px; }
.tool-form-actions .button { min-height: 42px; border-radius: 11px; }
.tool-notice { min-height: 38px; margin: 14px 0 0; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.65; }
.tool-results-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tool-status-pill { min-height: 28px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; color: var(--pilot-text-secondary); background: rgba(246, 248, 252, 0.9); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tool-status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #9ba8bc; }
.tool-result-list { margin-top: 18px; display: grid; border-top: 1px solid rgba(208, 218, 233, 0.62); }
.tool-result-row { min-height: 66px; padding: 10px 0; border-bottom: 1px solid rgba(208, 218, 233, 0.58); display: flex; align-items: center; gap: 10px; }
.tool-result-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); font-size: 13px; }
.tool-result-row > div { min-width: 0; flex: 1; display: grid; gap: 2px; }
.tool-result-row strong { overflow: hidden; color: var(--pilot-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tool-result-row small { color: var(--pilot-text-tertiary); font-size: 11px; }
.tool-result-row em { color: var(--pilot-text-tertiary); font-size: 11px; font-style: normal; white-space: nowrap; }
.tool-empty { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tool-empty > span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--pilot-brand-strong); background: var(--pilot-brand-soft); font-size: 18px; }
.tool-empty strong { margin-top: 14px; color: var(--pilot-text); font-size: 14px; }
.tool-empty p { max-width: 250px; margin: 6px 0 0; color: var(--pilot-text-tertiary); font-size: 12px; line-height: 1.65; }
.tool-2fa-guide { margin-top: 17px; padding: 12px 13px; border-radius: 11px; display: flex; align-items: flex-start; gap: 8px; color: var(--pilot-text-secondary); background: rgba(246, 248, 252, 0.9); font-size: 12px; line-height: 1.65; }
.tool-2fa-guide i { margin-top: 3px; color: var(--pilot-brand-strong); }
.tool-code-card { padding-bottom: 22px; }
.tool-code-display { margin-top: 24px; padding: 24px 16px 18px; border: 1px solid rgba(79, 104, 255, 0.16); border-radius: 16px; text-align: center; background: linear-gradient(118deg, rgba(237, 242, 255, 0.82), rgba(248, 250, 255, 0.94)); }
.tool-code-display strong { display: block; color: var(--pilot-text); font-size: clamp(38px, 5vw, 54px); letter-spacing: 0.18em; line-height: 1; }
.tool-code-display span { display: block; margin-top: 12px; color: var(--pilot-text-tertiary); font-size: 12px; }
.tool-code-progress { height: 6px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: rgba(229, 235, 247, 0.92); }
.tool-code-progress span { display: block; height: 100%; border-radius: inherit; background: var(--pilot-brand); transition: width 300ms linear; }
.tool-code-footer { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--pilot-text-tertiary); font-size: 12px; }
.tool-code-footer b { color: var(--pilot-brand-strong); }
.tool-code-footer .button { min-height: 40px; border-radius: 11px; }
.tool-code-footer .button:disabled { opacity: 0.54; cursor: not-allowed; }

@media (max-width: 900px) {
  .login-page { padding-top: 28px; }
  .login-shell { grid-template-columns: minmax(0, 0.78fr) minmax(390px, 1.22fr); }
  .login-intro { padding: 12px; }
  .login-visual-icon { width: 52px; height: 52px; }
  .login-form-card { padding: 48px 38px 36px; }
  .tutorial-layout { grid-template-columns: 1fr; }
  .tutorial-sidebar { padding: 15px; overflow: hidden; }
  .tutorial-sidebar header { border-bottom: 0; }
  .tutorial-sidebar nav { margin: 0; padding: 2px 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
  .tutorial-sidebar nav button { min-width: max-content; padding: 0 12px; background: rgba(247, 249, 253, 0.9); }
  .tutorial-safety-note { display: none; }
  .tutorial-detail-grid { grid-template-columns: 1fr; }
  .tutorial-detail-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .login-page { min-height: auto; padding: 18px 12px 64px; display: block; }
  .login-shell { min-height: 0; border-radius: 22px; grid-template-columns: 1fr; }
  .login-intro { height: 310px; padding: 8px 10px; }
  .login-orbit-visual { min-height: 294px; }
  .login-visual-globe { width: min(82%, 285px); }
  .login-visual-plaque { width: min(51%, 172px); }
  .login-visual-icon { width: 39px; height: 39px; }
  .login-orbit-instagram { top: 3%; left: 12%; }
  .login-orbit-tiktok { top: 5%; right: 5%; }
  .login-orbit-facebook { left: 0; }
  .login-orbit-google { right: 0; }
  .login-orbit-x { bottom: 3%; left: 13%; }
  .login-orbit-telegram { right: 7%; bottom: 2%; }
  .login-form-card { padding: 28px 22px 26px; }
  .login-form-card form { margin-top: 22px; }
  .register-form-card { padding: 28px 22px 26px; }
  .register-form-card form { gap: 15px; }
  .register-verification-row { grid-template-columns: 1fr; }
  .register-captcha-preview { justify-content: flex-start; }
  .login-verification-status { align-items: flex-start; }
  .login-verification-status em { margin-top: 4px; }
  .tutorial-page { padding: 18px 12px 64px; }
  .tutorial-hero { min-height: 0; padding: 24px 20px; border-radius: 21px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .tutorial-hero h1 { font-size: 27px; }
  .tutorial-start-actions { width: 100%; }
  .tutorial-start-actions .button { flex: 1; padding-inline: 12px; }
  .tutorial-layout { margin-top: 12px; gap: 12px; }
  .tutorial-sidebar { padding: 13px 10px; border-radius: 18px; }
  .tutorial-sidebar header { padding: 0 4px 10px; }
  .tutorial-sidebar h2 { font-size: 16px; }
  .tutorial-results { padding: 18px 14px; border-radius: 20px; }
  .tutorial-results-header { align-items: stretch; flex-direction: column; gap: 14px; }
  .tutorial-results-header h2 { font-size: 21px; }
  .tutorial-search { width: 100%; }
  .tutorial-list { max-height: min(58vh, 520px); padding-right: 6px; }
  .tutorial-item-toggle { padding-inline: 4px; }
  .tutorial-item-icon { width: 44px; height: 44px; border-radius: 14px; }
  .tutorial-item-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .tutorial-item-heading > strong { max-width: 100%; white-space: normal; }
  .tutorial-detail-page { padding: 18px 12px 64px; }
  .tutorial-detail-breadcrumbs { font-size: 11px; }
  .tutorial-detail-header { margin-top: 8px; padding: 22px 20px; border-radius: 21px; flex-direction: column; gap: 18px; }
  .tutorial-detail-meta { margin-top: 15px; }
  .tutorial-detail-heading h1 { margin-top: 12px; font-size: 27px; }
  .tutorial-detail-heading > p { font-size: 14px; }
  .tutorial-detail-start-card { width: 100%; }
  .tutorial-detail-grid { margin-top: 12px; gap: 12px; }
  .tutorial-detail-article { padding: 22px 20px 22px; border-radius: 20px; }
  .tutorial-detail-video { align-items: flex-start; padding: 14px; }
  .tutorial-detail-video-state { margin-top: 2px; }
  .tutorial-detail-article-head h2 { font-size: 21px; }
  .tutorial-detail-step { padding: 21px 0; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; }
  .tutorial-detail-step-number { width: 32px; height: 32px; border-radius: 10px; }
  .tutorial-detail-step h3 { font-size: 16px; }
  .tutorial-detail-step p { font-size: 13px; line-height: 1.8; }
  .tutorial-detail-actions { flex-direction: column-reverse; }
  .tutorial-detail-actions .button { width: 100%; }
  .tutorial-detail-rail { grid-template-columns: 1fr; }
  .tool-page { padding: 18px 12px 64px; }
  .tool-breadcrumbs { font-size: 11px; }
  .tool-page-header { margin-top: 8px; padding: 22px 20px; border-radius: 21px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .tool-page-heading { align-items: flex-start; gap: 12px; }
  .tool-page-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 17px; }
  .tool-page-heading h1 { font-size: 27px; }
  .tool-page-heading > div > span { font-size: 13px; }
  .tool-page-back { width: 100%; justify-content: center; }
  .tool-workspace { margin-top: 12px; gap: 12px; }
  .tool-card { padding: 22px 20px; border-radius: 20px; }
  .tool-card > header h2 { font-size: 21px; }
  .tool-form-actions { flex-wrap: wrap; }
  .tool-form-actions .button { flex: 1; }
  .tool-code-footer { align-items: stretch; flex-direction: column; }
  .tool-code-footer .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .login-visual-globe { animation-duration: 16s; }
  .login-visual-plaque { animation-duration: 14s; }
  .login-visual-icon { animation-duration: 15s; }
}

/* Production homepage integration: keep shared header/footer markup available to
   category and product pages, but replace it only on the real homepage. */
body.home-pilot-page {
  background: var(--pilot-canvas) !important;
}

body.home-pilot-page > .navbar-acg,
body.home-pilot-page > .container.d-lg-none,
body.home-pilot-page > footer {
  display: none !important;
}

body.home-pilot-page #pjax-container {
  width: 100%;
  min-height: 100vh;
}

.homepage-pilot {
  width: 100%;
  min-width: 320px;
  overflow: hidden;
}

.homepage-pilot .nav-glass-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.62), rgba(223, 235, 251, 0.32), rgba(255, 255, 255, 0.54));
}

.homepage-pilot .nav-account-menu[hidden],
.homepage-pilot .tool-popover[hidden],
.homepage-pilot .mobile-nav[hidden],
.homepage-pilot .modal-backdrop[hidden] {
  display: none !important;
}

.homepage-pilot .nav-account-menu-wrap {
  position: relative;
}

.homepage-pilot .nav-account-menu {
  right: 0;
  left: auto;
  transform: none;
}

.homepage-pilot .faq-list-dynamic {
  grid-auto-flow: row;
  row-gap: 0;
  column-gap: 64px;
}

.homepage-pilot .faq-list-dynamic > details {
  min-width: 0;
  border-top: 1px solid var(--pilot-border);
}

.homepage-pilot .homepage-category-empty,
.homepage-pilot .cover-flow__empty {
  margin: 24px 0;
  color: var(--pilot-text-secondary);
  text-align: center;
}

.homepage-pilot .all-category-grid a[hidden] {
  display: none !important;
}

.homepage-pilot .all-category-grid img {
  object-fit: contain;
}

@media (max-width: 760px) {
  body.home-pilot-page #pjax-container {
    overflow: hidden;
  }

  .homepage-pilot .faq-list-dynamic {
    grid-template-columns: 1fr;
  }
}
