/* Stable design-system layer loaded after legacy CSS. */
.site-page {
  --page-accent: var(--ug-brand);
  --page-accent-strong: var(--ug-brand-strong);
  --page-hero-mark: "UUGate";
  background: var(--ug-grid-bg);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
  color: var(--ug-ink);
}

.site-page-usdc-payment-gateway {
  --page-accent: #1fcf8d;
  --page-accent-strong: #62f1bd;
  --page-hero-mark: "USDC";
}

.site-page-crypto-payment-api {
  --page-accent: #17d978;
  --page-accent-strong: #6df0ab;
  --page-hero-mark: "API";
}

.site-page-member-topup-plugin {
  --page-accent: #12bf5f;
  --page-accent-strong: #70ec9d;
  --page-hero-mark: "UID";
}

.site-page-dedicated-address-collection {
  --page-accent: #0fca68;
  --page-accent-strong: #65eaa6;
  --page-hero-mark: "ADDR";
}

.site-page-pricing {
  --page-accent: #0fbd5a;
  --page-accent-strong: #9ff5bd;
  --page-hero-mark: "0.3%";
}

.site-page-contact {
  --page-accent: #10c96a;
  --page-accent-strong: #7befb0;
  --page-hero-mark: "CHAT";
}

.site-blog-index {
  --page-accent: #0ab45f;
  --page-accent-strong: #7aefb0;
  --page-hero-mark: "BLOG";
}

.site-page .site-header,
.site-page .site-header-solid {
  background: rgba(3, 13, 22, 0.88);
  border-bottom: 1px solid rgba(30, 217, 118, 0.14);
  box-shadow: 0 16px 48px rgba(1, 9, 15, 0.2);
}

.site-page .nav-dropdown-toggle {
  border-radius: 999px;
}

.site-page .nav-dropdown-menu {
  border-radius: var(--ug-radius-sm);
}

.site-page :focus-visible {
  outline: 3px solid rgba(24, 223, 120, 0.32);
  outline-offset: 3px;
}

.site-page .page-wrap > :not(.page-hero):not(.page-hero-bandlike):not(.page-hero-pricing):not(.blog-conversion) {
  width: min(calc(100% - 32px), var(--ug-page-width));
}

.site-page .page-hero-bandlike .pricing-hero-band,
.site-page .page-hero-pricing .pricing-hero-band {
  min-height: clamp(330px, 42vh, 430px);
  background:
    radial-gradient(circle at 50% 52%, color-mix(in srgb, var(--page-accent) 21%, transparent), transparent 31rem),
    linear-gradient(180deg, #05111c 0%, #061822 52%, #06131d 100%);
  box-shadow: var(--ug-shadow-hero);
}

.site-page .pricing-hero-band::after {
  content: var(--page-hero-mark);
  position: absolute;
  right: max(5vw, 64px);
  top: 52%;
  z-index: 1;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--page-accent-strong) 25%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--page-accent-strong) 20%, transparent), transparent 48%),
    rgba(5, 22, 27, 0.28);
  color: color-mix(in srgb, var(--page-accent-strong) 78%, #ffffff);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.58;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.015), 0 0 54px color-mix(in srgb, var(--page-accent) 15%, transparent);
  pointer-events: none;
}

.site-page .page-hero-tech-node {
  background: var(--page-accent-strong);
  box-shadow: 0 0 22px color-mix(in srgb, var(--page-accent) 42%, transparent);
}

.site-page .subpage-eyebrow,
.site-page .section-title .eyebrow {
  border-color: color-mix(in srgb, var(--page-accent) 22%, transparent);
  background: color-mix(in srgb, var(--page-accent) 9%, transparent);
  color: color-mix(in srgb, var(--page-accent) 78%, #03512d);
}

.site-page .subpage-eyebrow,
.site-page .section-title .eyebrow,
.site-page .usdt-eyebrow {
  display: none !important;
}

.site-page .section-title {
  margin-bottom: 30px;
}

.site-page .section-title h2 {
  max-width: 920px;
  color: #07111f;
  letter-spacing: 0;
}

.site-page .section-title p {
  max-width: 660px;
  color: var(--ug-muted);
}

.site-page .pricing-grid,
.site-page .pricing-feature-grid,
.site-page .feature-grid {
  gap: 18px;
}

.site-page .pricing-panel,
.site-page .feature-card,
.site-page .pricing-faq-item,
.site-page .blog-card {
  border: 1px solid var(--ug-line);
  border-radius: var(--ug-radius-lg);
  background: #ffffff;
  box-shadow: var(--ug-shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-page .pricing-panel:hover,
.site-page .feature-card:hover,
.site-page .pricing-faq-item:hover,
.site-page .blog-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--page-accent) 28%, transparent);
  box-shadow: var(--ug-shadow-card-hover);
}

.site-page .pricing-panel::before {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--page-accent) 10%, #ffffff), color-mix(in srgb, var(--page-accent) 4%, #ffffff)),
    url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 22.2l5 5L29.5 15' fill='none' stroke='%2312bf5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.site-page .workflow-board,
.site-page .pricing-table-wrap,
.site-page .showcase-split,
.site-page .post-wrap {
  border: 1px solid var(--ug-line);
  border-radius: var(--ug-radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 60px rgba(6, 32, 21, 0.08);
}

.site-page .workflow-board {
  display: block;
  padding: clamp(24px, 4vw, 38px);
}

.site-page .workflow-board::before {
  inset: 58px 38px auto;
}

.site-page .workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.site-page .workflow-step {
  min-height: 158px;
  padding: 22px 20px 20px;
  border: 1px solid var(--ug-line);
  border-radius: var(--ug-radius-md);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--page-accent) 12%, transparent), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 255, 251, 0.94));
  box-shadow: 0 14px 34px rgba(6, 32, 21, 0.07);
}

.site-page .workflow-step-number {
  background: color-mix(in srgb, var(--page-accent) 12%, transparent);
  color: color-mix(in srgb, var(--page-accent) 80%, #034b28);
}

.site-page .button-primary,
.site-page .button-secondary,
.site-page .pricing-cta-panel .button-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
}

.site-page .button-primary,
.site-page .pricing-cta-panel .button-primary {
  background: var(--page-accent);
  color: #ffffff;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--page-accent) 24%, transparent);
}

.site-page .button-secondary,
.site-page .pricing-cta-panel .button-secondary {
  background: rgba(255, 255, 255, 0.68);
  color: #0d251c;
  border-color: rgba(7, 34, 25, 0.14);
}

.site-page .button-primary:hover,
.site-page .button-secondary:hover,
.site-page .pricing-cta-panel .button-primary:hover,
.site-page .pricing-cta-panel .button-secondary:hover {
  text-decoration: none;
}

.site-page .pricing-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 24px;
  align-items: center;
}

.site-page .pricing-cta-copy h2 {
  margin: 0 0 12px;
  color: var(--ug-ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.site-page .pricing-cta-copy p {
  margin: 0;
  color: var(--ug-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.site-page .pricing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-page .pricing-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-page .pricing-cta-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--page-accent) 16%, transparent);
  border-radius: 999px;
  padding: 0 14px;
  color: color-mix(in srgb, var(--page-accent) 78%, #0d251c);
  background: color-mix(in srgb, var(--page-accent) 8%, #ffffff);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-page .pricing-cta-panel {
    grid-template-columns: 1fr;
  }

  .site-page .pricing-cta-actions {
    justify-content: flex-start;
  }
}

.site-page .blog-conversion {
  width: min(calc(100% - 32px), var(--ug-page-width));
  margin: clamp(44px, 6vw, 74px) auto 0;
}

.site-page .blog-conversion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--page-accent) 18%, transparent);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--page-accent) 14%, transparent), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f5fff9);
  box-shadow: 0 24px 70px rgba(6, 32, 21, 0.11);
}

.site-page .blog-conversion h2 {
  margin: 0 0 10px;
  color: var(--ug-ink);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.site-page .blog-conversion p {
  margin: 0;
  color: var(--ug-muted);
  line-height: 1.8;
}

.site-page .blog-conversion-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .site-page .pricing-hero-band::after {
    right: 24px;
    width: 96px;
    height: 96px;
    opacity: 0.34;
  }

  .site-page .blog-conversion-panel {
    grid-template-columns: 1fr;
  }

  .site-page .blog-conversion-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-page .page-hero-bandlike .pricing-hero-band,
  .site-page .page-hero-pricing .pricing-hero-band {
    min-height: 310px;
    padding: 98px 20px 44px;
  }

  .site-page .pricing-hero-band::after {
    display: none;
  }

  .site-page .page-hero h1,
  .site-page .page-hero-bandlike .pricing-hero-copy h1,
  .site-page .page-hero-pricing .pricing-hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }

  .site-page .section-title h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .site-page .pricing-section {
    padding-top: var(--ug-section-gap);
  }

  .site-page .blog-conversion {
    width: min(calc(100% - 24px), var(--ug-page-width));
  }

  .site-page .blog-conversion-panel {
    border-radius: 24px;
  }

  .site-blog-post .post-wrap h1 {
    font-size: clamp(2rem, 8vw, 2.25rem);
    line-height: 1.08;
  }
}

/* Gateway hero alignment: USDT and USDC use the same cropped banner treatment. */
.site-page-usdt-payment-gateway .usdt-gateway-hero::after,
.site-page-usdc-payment-gateway .page-hero::after,
.site-page-usdc-payment-gateway .pricing-hero-band::after {
  content: none;
  display: none;
}

.site-page-usdt-payment-gateway .page-hero-usdt-gateway,
.site-page-usdc-payment-gateway .page-hero-bandlike {
  margin-bottom: 0;
}

.site-page-usdc-payment-gateway .page-hero-bandlike .pricing-hero-band {
  min-height: clamp(240px, 34vh, 320px);
  padding: 126px 20px 48px;
  background:
    linear-gradient(rgba(9, 184, 80, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 184, 80, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(9, 184, 80, 0.18), transparent 320px),
    linear-gradient(135deg, #06101d 0%, #0b202d 55%, #06111d 100%);
  background-size: 30px 30px, 30px 30px, auto, auto;
}

@media (max-width: 900px) {
  .site-page-usdc-payment-gateway .page-hero-bandlike .pricing-hero-band {
    min-height: 250px;
    padding: 108px 18px 38px;
  }
}

/* USDT gateway page: align the custom content system with the USDC subpage rhythm. */
.site-page-usdt-payment-gateway .page-wrap > .usdt-gateway-page {
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
}

.site-page-usdt-payment-gateway .usdt-proof-row,
.site-page-usdt-payment-gateway .usdt-section,
.site-page-usdt-payment-gateway .usdt-cta {
  width: min(calc(100% - 32px), var(--ug-page-width));
}

.site-page-usdt-payment-gateway .usdt-proof-row {
  margin-top: 40px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.site-page-usdt-payment-gateway .usdt-section {
  margin-top: clamp(58px, 7vw, 88px);
}

.site-page-usdt-payment-gateway .usdt-section-lead {
  margin-top: 0;
}

.site-page-usdt-payment-gateway .usdt-section-head {
  max-width: 860px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.site-page-usdt-payment-gateway .usdt-section-kicker {
  padding: 6px 12px;
  border: 1px solid rgba(18, 191, 95, 0.18);
  border-radius: 999px;
  background: rgba(18, 191, 95, 0.08);
  color: #0aa95b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.site-page-usdt-payment-gateway .usdt-section-kicker::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(18, 191, 95, 0.12);
}

.site-page-usdt-payment-gateway .usdt-section h2,
.site-page-usdt-payment-gateway .usdt-cta h2 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-page-usdt-payment-gateway .usdt-section-head p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #66766f;
}

.site-page-usdt-payment-gateway .usdt-card-grid {
  gap: 18px;
}

.site-page-usdt-payment-gateway .usdt-card,
.site-page-usdt-payment-gateway .usdt-route-card,
.site-page-usdt-payment-gateway .usdt-flow-step,
.site-page-usdt-payment-gateway .usdt-usecase-grid article,
.site-page-usdt-payment-gateway .usdt-faq-item {
  border: 1px solid rgba(7, 34, 25, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 255, 251, 0.93)),
    #ffffff;
  box-shadow: var(--ug-shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-page-usdt-payment-gateway .usdt-card:hover,
.site-page-usdt-payment-gateway .usdt-route-card:hover,
.site-page-usdt-payment-gateway .usdt-flow-step:hover,
.site-page-usdt-payment-gateway .usdt-usecase-grid article:hover,
.site-page-usdt-payment-gateway .usdt-faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 191, 95, 0.28);
  box-shadow: var(--ug-shadow-card-hover);
}

.site-page-usdt-payment-gateway .usdt-route-card.is-primary {
  color: #ffffff;
  border-color: rgba(18, 191, 95, 0.34);
  background: linear-gradient(135deg, var(--ug-brand-strong), var(--ug-brand-deep));
  box-shadow: 0 20px 52px rgba(9, 184, 80, 0.18);
}

.site-page-usdt-payment-gateway .usdt-route-card.is-primary h3,
.site-page-usdt-payment-gateway .usdt-route-card.is-primary p,
.site-page-usdt-payment-gateway .usdt-route-card.is-primary span {
  color: #ffffff;
}

.site-page-usdt-payment-gateway .usdt-card-icon,
.site-page-usdt-payment-gateway .usdt-flow-step > span,
.site-page-usdt-payment-gateway .usdt-usecase-grid span {
  border-radius: 15px;
}

.site-page-usdt-payment-gateway .usdt-card h3,
.site-page-usdt-payment-gateway .usdt-route-card h3,
.site-page-usdt-payment-gateway .usdt-flow-step h3,
.site-page-usdt-payment-gateway .usdt-usecase-grid h3,
.site-page-usdt-payment-gateway .usdt-faq-item h3 {
  letter-spacing: 0;
}

.site-page-usdt-payment-gateway .usdt-split-copy,
.site-page-usdt-payment-gateway .usdt-usecase-panel {
  max-width: 520px;
}

.site-page-usdt-payment-gateway .usdt-usecase-section {
  background:
    radial-gradient(circle at 20% 14%, rgba(18, 191, 95, 0.13), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 255, 249, 0.9));
  border-color: rgba(18, 191, 95, 0.14);
}

@media (max-width: 768px) {
  .site-page-usdt-payment-gateway .usdt-proof-row,
  .site-page-usdt-payment-gateway .usdt-section,
  .site-page-usdt-payment-gateway .usdt-cta {
    width: min(calc(100% - 24px), var(--ug-page-width));
  }

  .site-page-usdt-payment-gateway .usdt-proof-row {
    margin-bottom: 50px;
  }
}

/* All non-home pages share the same cropped dark banner with a hard bottom edge. */
.site-subpage .page-hero:not(.page-hero-bandlike):not(.page-hero-pricing),
.site-subpage .page-hero-bandlike .pricing-hero-band,
.site-subpage .page-hero-pricing .pricing-hero-band {
  min-height: clamp(240px, 34vh, 320px);
  padding: 126px 20px 48px;
  background:
    linear-gradient(rgba(9, 184, 80, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 184, 80, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(9, 184, 80, 0.18), transparent 320px),
    linear-gradient(135deg, #06101d 0%, #0b202d 55%, #06111d 100%);
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.site-subpage .page-hero-bandlike,
.site-subpage .page-hero-pricing {
  min-height: 0;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.site-subpage .page-hero::after,
.site-subpage .page-hero-bandlike::after,
.site-subpage .page-hero-pricing::after,
.site-subpage .pricing-hero-band::after,
.site-page-usdt-payment-gateway .page-hero-usdt-gateway::after,
.site-page-usdt-payment-gateway .usdt-gateway-hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

@media (max-width: 900px) {
  .site-subpage .page-hero:not(.page-hero-bandlike):not(.page-hero-pricing),
  .site-subpage .page-hero-bandlike .pricing-hero-band,
  .site-subpage .page-hero-pricing .pricing-hero-band {
    min-height: 250px;
    padding: 108px 18px 38px;
  }
}
