:root {
  --salary-bg: #05091c;
  --salary-surface: #0b1537;
  --salary-line: rgba(128, 190, 255, 0.24);
  --salary-gold: #75ddff;
  --salary-mint: #c77cff;
  --salary-cream: #f3f7ff;
}

.codexshift-page {
  background: #f3f6fb;
}

.codexshift-hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(43, 175, 255, 0.17), transparent 27rem),
    radial-gradient(circle at 65% 82%, rgba(205, 84, 255, 0.13), transparent 25rem),
    linear-gradient(rgba(166, 207, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 207, 255, 0.035) 1px, transparent 1px),
    var(--salary-bg);
  background-size: auto, auto, 30px 30px, 30px 30px, auto;
}

.codexshift-hero::before {
  content: "SHIFT";
}

.codexshift-page .detail-hero h1 {
  font-size: clamp(4rem, 7vw, 8rem);
  line-height: 0.88;
}

.codexshift-page .detail-hero h1 small {
  color: #d48cff;
  font-size: 0.18em;
  letter-spacing: 0.03em;
}

.codexshift-page .detail-product-id img {
  border-radius: 12px;
}

.codexshift-page .detail-summary code,
.codexshift-page .overview-copy code,
.automation-list code,
.feature-primary code {
  color: #9de7ff;
  font-family: Consolas, monospace;
}

.community-note {
  max-width: 620px;
  margin: 1.6rem 0 0;
  color: rgba(170, 192, 228, 0.56);
  font-size: 0.68rem;
  line-height: 1.65;
}

.codexshift-page .detail-cover-frame {
  background: #030817;
  box-shadow: 32px 32px 0 rgba(117, 221, 255, 0.08), 0 42px 90px rgba(0, 0, 0, 0.45);
}

.codexshift-page .detail-cover-frame img {
  object-fit: cover;
}

.codexshift-page .detail-float {
  background: rgba(8, 18, 52, 0.92);
}

.codexshift-page .detail-float strong {
  color: #8ce5ff;
}

.codexshift-preview-stage {
  background:
    linear-gradient(rgba(34, 79, 154, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 79, 154, 0.045) 1px, transparent 1px),
    #eaf0fa;
  background-size: 24px 24px;
}

.codexshift-preview-stage img {
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(15, 35, 83, 0.3);
}

.codexshift-preview-stage .widget-shadow {
  background: rgba(105, 95, 255, 0.24);
}

.workflow-section {
  padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 8vw, 9rem);
  color: var(--salary-cream);
  background:
    radial-gradient(circle at 15% 15%, rgba(62, 173, 255, 0.12), transparent 24rem),
    linear-gradient(rgba(163, 202, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 202, 255, 0.025) 1px, transparent 1px),
    #05091c;
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.workflow-intro {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: #9bacca;
  font-size: clamp(0.86rem, 1.25vw, 1rem);
  line-height: 1.85;
}

.switch-stage {
  display: grid;
  max-width: 1280px;
  margin: 4rem auto 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1px;
  background: var(--salary-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.switch-console,
.automation-panel {
  min-width: 0;
  background: linear-gradient(145deg, rgba(18, 42, 91, 0.9), rgba(6, 12, 36, 0.96));
}

.switch-console {
  display: flex;
  min-height: 390px;
  padding: clamp(1.5rem, 4vw, 3rem);
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 182, 255, 0.15), transparent 18rem),
    linear-gradient(rgba(153, 202, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 202, 255, 0.04) 1px, transparent 1px),
    #070e28;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.switch-console-top,
.switch-console-status,
.automation-panel-heading,
.automation-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.switch-console-top {
  color: #8fe8ff;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.switch-console-top span,
.switch-console-status span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.switch-console-top i,
.switch-console-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79e7ff;
  box-shadow: 0 0 14px #79e7ff;
}

.switch-console-top small,
.switch-console-status {
  color: #869bc3;
  font: inherit;
  font-size: 0.55rem;
}

.switch-route {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 4vw, 3rem);
}

.provider-node {
  min-height: 132px;
  padding: 1.25rem;
  border: 1px solid rgba(149, 202, 255, 0.28);
  background: rgba(13, 30, 70, 0.72);
}

.provider-node-target {
  border-color: rgba(213, 137, 255, 0.52);
  background: linear-gradient(145deg, rgba(53, 37, 107, 0.8), rgba(17, 18, 61, 0.8));
}

.provider-node small,
.switch-action small {
  display: block;
  color: #80dfff;
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
}

.provider-node strong {
  display: block;
  margin: 1.6rem 0 0.4rem;
  color: #f4f8ff;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
}

.provider-node span {
  color: #8da5cd;
  font-size: 0.72rem;
}

.switch-action {
  text-align: center;
  white-space: nowrap;
}

.switch-action strong {
  display: block;
  margin: 0.65rem 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
}

.switch-action strong i {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-left: 0.25rem;
  place-items: center;
  border-radius: 50%;
  color: #06102b;
  background: #8ce6ff;
  font-style: normal;
}

.switch-action span {
  color: #899fc7;
  font-size: 0.68rem;
}

.switch-console-status {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(138, 192, 255, 0.18);
}

.switch-console-status strong {
  color: #c995ff;
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.automation-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #0a1436;
}

.automation-panel-heading {
  align-items: flex-end;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(138, 192, 255, 0.18);
  flex-direction: column;
}

.automation-panel-heading span,
.automation-panel-heading strong {
  align-self: flex-start;
}

.automation-panel-heading span {
  color: #c995ff;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.automation-panel-heading strong {
  margin-top: 0.65rem;
  color: #eef5ff;
  font-family: var(--display);
  font-size: 1.35rem;
}

.automation-list article {
  min-height: 78px;
  gap: 1rem;
  border-bottom: 1px solid rgba(138, 192, 255, 0.14);
}

.automation-list article > span {
  color: #72ddff;
  font-family: var(--display);
  font-size: 0.6rem;
}

.automation-list article > div {
  flex: 1;
}

.automation-list h3 {
  margin: 0 0 0.35rem;
  color: #f1f6ff;
  font-family: var(--display);
  font-size: 0.92rem;
}

.automation-list p {
  margin: 0;
  color: #879bc0;
  font-size: 0.68rem;
  line-height: 1.55;
}

.automation-list small {
  color: #79e5ff;
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.codexshift-page .feature-section {
  background: #08102b;
}

.feature-intro {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: #9bacca;
  font-size: clamp(0.86rem, 1.25vw, 1rem);
  line-height: 1.85;
}

.feature-showcase {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-template-rows: repeat(3, minmax(150px, auto));
  gap: 1px;
  background: var(--salary-line);
}

.feature-showcase article {
  min-width: 0;
  color: var(--salary-cream);
  background: #0a1436;
}

.feature-primary {
  display: grid;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  grid-row: span 3;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(80, 185, 255, 0.18), transparent 17rem),
    linear-gradient(145deg, #102657, #0a1436);
}

.feature-primary-copy > span,
.feature-support > span {
  color: #81e3ff;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.feature-primary h3 {
  margin: 4rem 0 1rem;
  color: #f3f7ff;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.3rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.feature-primary p,
.feature-support p {
  margin: 0;
  color: #94a9ce;
  font-size: 0.8rem;
  line-height: 1.75;
}

.feature-tags {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feature-tags small {
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(126, 219, 255, 0.25);
  color: #9de7ff;
  font-family: var(--display);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
}

.index-repair-visual {
  align-self: center;
  padding: 1.5rem;
  border: 1px solid rgba(131, 211, 255, 0.27);
  background: rgba(2, 11, 38, 0.58);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.index-repair-visual > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aeaff;
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.index-repair-visual > div:first-child small {
  color: #d197ff;
  font: inherit;
}

.index-repair-visual strong {
  display: block;
  margin: 2.4rem 0 1.2rem;
  color: #eaf7ff;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.08em;
}

.index-repair-visual strong em {
  color: #7994c2;
  font-size: 0.32em;
  font-style: normal;
  letter-spacing: 0;
}

.index-nodes {
  display: flex;
  gap: 0.45rem;
}

.index-nodes i {
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #70e2ff, #c77cff);
  box-shadow: 0 0 12px rgba(113, 225, 255, 0.4);
}

.index-repair-visual > p {
  margin: 1rem 0 0;
  color: #8ea5ce;
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.feature-support {
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
  transition: background 240ms ease, transform 240ms ease;
}

.feature-support:hover {
  z-index: 2;
  background: #112451;
  transform: translateY(-5px);
}

.feature-symbol {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  margin: 1.3rem 0;
  place-items: center;
  border: 1px solid rgba(138, 222, 255, 0.35);
  color: #8fe7ff;
  font-family: var(--display);
  font-size: 0.72rem;
}

.feature-symbol i {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border: 1px solid #d48cff;
  border-radius: 50%;
}

.feature-support h3 {
  margin: 0 0 0.65rem;
  color: #f1f6ff;
  font-family: var(--display);
  font-size: 1.15rem;
}

.codexshift-page .privacy-list span {
  color: #07102e;
  background: linear-gradient(135deg, #77e7ff, #d98cff);
}

.codexshift-page .download-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(71, 189, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 82% 78%, rgba(205, 85, 255, 0.1), transparent 24rem),
    #05091c;
}

.codexshift-page .download-section > img {
  border-radius: 24px;
  box-shadow: 20px 20px 0 rgba(125, 102, 255, 0.1);
}

.tokendance-hero-download {
  display: flex;
  max-width: 690px;
  margin-top: 1rem;
  padding: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(116, 238, 214, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 20%, rgba(62, 224, 195, 0.12), transparent 45%),
    rgba(7, 24, 41, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 40px rgba(0, 0, 0, 0.18);
}

.tokendance-hero-brand {
  display: flex;
  min-width: 180px;
  align-items: center;
  gap: 0.7rem;
}

.tokendance-hero-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.tokendance-hero-brand b {
  color: #eafffa;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.tokendance-hero-brand small {
  color: #72aaa4;
  font-size: 0.56rem;
  white-space: nowrap;
}

.tokendance-logo-frame {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(127, 243, 220, 0.45);
  border-radius: 13px;
  background: rgba(2, 18, 30, 0.72);
}

.tokendance-logo-frame img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.tokendance-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.tokendance-hero-actions a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 0.8rem;
  align-items: center;
  border-color: #6ce2cb;
  border: 1px solid rgba(108, 226, 203, 0.75);
  border-radius: 9px;
  color: #b8fff2;
  font-size: 0.62rem;
  font-weight: 650;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.tokendance-hero-actions a:hover {
  color: #061a29;
  background: #b1fff1;
  transform: translateY(-1px);
}

.codexshift-page .detail-footer {
  border-top-color: rgba(128, 190, 255, 0.18);
  background: #030615;
}

@media (max-width: 1050px) {
  .switch-stage {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-primary {
    display: block;
    grid-row: auto;
  }

  .index-repair-visual {
    margin-top: 2rem;
  }
}

@media (max-width: 700px) {
  .tokendance-hero-download {
    align-items: stretch;
    flex-direction: column;
  }

  .tokendance-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tokendance-hero-actions a {
    justify-content: center;
  }

  .codexshift-page .detail-hero h1 {
    font-size: clamp(3.3rem, 17vw, 5.4rem);
  }

  .workflow-section {
    padding: 5rem 1rem;
  }

  .workflow-section .detail-section-heading,
  .feature-section .detail-section-heading {
    margin-bottom: 2.2rem;
  }

  .switch-stage {
    margin-top: 2.5rem;
  }

  .switch-console {
    min-height: 430px;
    padding: 1.2rem;
  }

  .switch-route {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .provider-node {
    min-height: 92px;
  }

  .provider-node strong {
    margin-top: 0.8rem;
  }

  .switch-action {
    order: -1;
  }

  .switch-console-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-primary {
    display: block;
    grid-column: auto;
    grid-row: auto;
  }

  .feature-primary h3 {
    margin-top: 2.5rem;
  }

  .index-repair-visual {
    margin-top: 2rem;
  }

}
