.tp26-header,
.tp26-footer,
.tp26-mobile-menu {
  --header-height: 74px;
  --tp26-brand: #ff5b1a;
  --tp26-brand-ink: #e6460c;
  --tp26-ink: #2a2e3a;
  --tp26-text: #565b68;
  --tp26-muted: #8a8f9c;
  --tp26-line: #ececf1;
  --tp26-dark: #0b0d13;
  --tp26-font: "Segoe UI", Arial, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--tp26-font);
  -webkit-font-smoothing: antialiased;
}

/* The legacy fixed header reserved 1.2rem above every page. Override it for sticky tp26-header. */
body {
  padding-top: 0 !important;
}

.tp26-header *,
.tp26-footer *,
.tp26-mobile-menu * {
  box-sizing: border-box;
}

.tp26-header a,
.tp26-footer a,
.tp26-mobile-menu a {
  text-decoration: none;
}

.tp26-header img,
.tp26-footer img,
.tp26-mobile-menu img {
  max-width: 100%;
  display: block;
}

.tp26-wrap {
  width: clamp(1320px, 74%, 2007px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.tp26-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: rgba(254, 252, 251, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--tp26-line);
  color: var(--tp26-text);
}

.tp26-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  height: var(--header-height, 74px);
}

.tp26-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.tp26-logo img {
  width: auto;
  height: 34px;
}

.tp26-nav-links {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp26-nav-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.tp26-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tp26-text);
  font: 600 16.5px/1.25 var(--tp26-font);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.tp26-nav-link:hover,
.tp26-nav-link:focus-visible {
  color: var(--tp26-brand);
  background: rgba(255, 91, 26, 0.06);
  outline: none;
}

.tp26-nav-item:not(.tp26-has-menu) .tp26-nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 6px;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--tp26-brand);
  transition: width 0.25s;
}

.tp26-nav-item:not(.tp26-has-menu) .tp26-nav-link:hover::after {
  width: calc(100% - 32px);
}

.tp26-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.tp26-nav-item.tp26-active .tp26-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.tp26-mega-menu,
.tp26-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  z-index: 10001;
  padding: 8px;
  border: 1px solid var(--tp26-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 14, 20, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.tp26-mega-menu::before,
.tp26-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
}

.tp26-mega-menu {
  left: 0;
  width: 400px;
  max-width: calc(100vw - 48px);
}

.tp26-mega-menu--wide {
  width: 1160px;
}

.tp26-has-mega {
  position: static;
}

.tp26-has-dropdown {
  position: relative;
}

.tp26-dropdown-menu {
  left: 0;
  width: 240px;
}

.tp26-nav-item:hover > .tp26-mega-menu,
.tp26-nav-item:hover > .tp26-dropdown-menu,
.tp26-nav-item.tp26-active > .tp26-mega-menu,
.tp26-nav-item.tp26-active > .tp26-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tp26-mega-grid {
  display: grid;
}

.tp26-mega-products {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
}

.tp26-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  color: var(--tp26-ink);
  transition: background-color 0.2s;
}

.tp26-mega-item:hover,
.tp26-solution-item:hover,
.tp26-dropdown-item:hover {
  background: #fff6f2;
}

.tp26-product-icon,
.tp26-solution-icon,
.tp26-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
}

.tp26-product-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 12px;
}

.tp26-product-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tp26-product-icon--trade { background: #ff5b1a; }
.tp26-product-icon--tesour { background: #ff6b6b; }
.tp26-product-icon--ai { background: linear-gradient(135deg, #6366f1, #a855f7); }

.tp26-mega-copy {
  display: block;
  min-width: 0;
}

.tp26-mega-copy strong {
  display: block;
  margin: 0;
  color: var(--tp26-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.tp26-mega-copy small {
  display: block;
  margin-top: 2px;
  color: var(--tp26-text);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

.tp26-mega-solutions {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 16px;
}

.tp26-mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp26-mega-cat {
  margin-bottom: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tp26-line);
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tp26-solution-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px;
  border-radius: 12px;
  color: var(--tp26-ink);
  transition: background-color 0.2s;
}

.tp26-solution-item strong {
  color: var(--tp26-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.tp26-solution-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.tp26-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--tp26-ink);
  transition: background-color 0.2s;
}

.tp26-dropdown-item strong {
  color: var(--tp26-ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.tp26-dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 13px;
}

.tp26-icon-blue { background: #3b82f6; }
.tp26-icon-green { background: #10b981; }
.tp26-icon-purple { background: #8b5cf6; }
.tp26-icon-cyan { background: #06b6d4; }
.tp26-icon-amber { background: #f59e0b; }
.tp26-icon-pink { background: #ec4899; }
.tp26-icon-sky { background: #0ea5e9; }
.tp26-icon-red { background: #ef4444; }
.tp26-icon-indigo { background: #6366f1; }

.tp26-nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.tp26-login {
  color: var(--tp26-ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.tp26-login:hover { color: var(--tp26-brand); }

.tp26-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.tp26-button-primary {
  background: var(--tp26-brand);
  color: #fff !important;
  box-shadow: 0 18px 44px rgba(255, 91, 26, 0.3);
}

.tp26-button-primary:hover {
  background: var(--tp26-brand-ink);
  color: #fff;
  transform: translateY(-2px);
}

.tp26-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tp26-burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--tp26-ink);
  transition: transform 0.3s, opacity 0.3s;
}

.tp26-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp26-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tp26-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tp26-mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-height, 74px) 0 0 0;
  z-index: 9999;
  flex-direction: column;
  gap: 0;
  padding: 20px 24px 32px;
  overflow-y: auto;
  background: #fff;
}

.tp26-mobile-menu.tp26-show { display: flex; }

.tp26-mobile-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--tp26-line);
}

.tp26-mobile-title {
  margin-bottom: 8px;
  color: var(--tp26-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tp26-mobile-section a,
.tp26-mobile-direct {
  display: block;
  padding: 9px 8px;
  border-radius: 6px;
  color: var(--tp26-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.tp26-mobile-direct {
  padding: 12px 8px;
  border-bottom: 1px solid var(--tp26-line);
  border-radius: 0;
}

.tp26-mobile-section a:hover,
.tp26-mobile-direct:hover {
  color: var(--tp26-brand);
  background: rgba(255, 91, 26, 0.06);
}

.tp26-mobile-cta { margin-top: 18px; }
body.tp26-menu-open { overflow: hidden !important; }

.tp26-footer {
  width: 100%;
  padding: 66px 0 30px;
  background: var(--tp26-dark);
  color: #aeb2bd;
}

.tp26-foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px 24px;
}

.tp26-foot-logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.tp26-foot-logo img {
  width: auto;
  height: 34px;
}

.tp26-foot-brand p {
  max-width: 300px;
  margin: 0;
  color: #aeb2bd;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.tp26-foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.tp26-foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeb2bd;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.tp26-foot-social svg {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: color 0.2s;
}

.tp26-foot-social a:hover,
.tp26-foot-social a:hover svg { color: var(--tp26-brand); }

.tp26-foot-col h5 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp26-foot-col h5 .tp26-foot-title-link {
  display: inline;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.tp26-foot-col a {
  display: block;
  padding: 6px 0;
  color: #aeb2bd;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  transition: color 0.2s;
}

.tp26-foot-col a:hover { color: var(--tp26-brand); }

.tp26-foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7b8090;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.tp26-foot-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tp26-foot-legal a {
  color: #aeb2bd;
  font-size: 13px;
  transition: color 0.2s;
}

.tp26-foot-legal a:hover { color: var(--tp26-brand); }
.tp26-foot-legal span { opacity: 0.6; }

@media (max-width: 1120px) {
  .tp26-nav { gap: 22px; }
  .tp26-nav-link { padding-right: 11px; padding-left: 11px; font-size: 15px; }
  .tp26-mega-menu--wide { width: calc(100vw - 48px); }
  .tp26-mega-solutions { gap: 10px; }
  .tp26-solution-item { padding: 9px; }
  .tp26-solution-item strong { font-size: 13.5px; white-space: normal; }
}

@media (max-width: 980px) {
  .tp26-nav-links { display: none; }
  .tp26-burger { display: flex; }
  .tp26-login { display: none; }
}

@media (max-width: 760px) {
  .tp26-foot-top { grid-template-columns: repeat(2, 1fr); }
  .tp26-foot-brand { grid-column: 1 / -1; }
  .tp26-foot-brand p { max-width: 520px; }
}

@media (max-width: 520px) {
  .tp26-wrap { padding-right: 18px; padding-left: 18px; }
  .tp26-nav { height: 68px; }
  .tp26-logo img { height: 30px; }
  .tp26-nav-cta { gap: 8px; }
  .tp26-nav-cta > .tp26-button { padding: 11px 15px; font-size: 13px; }
  .tp26-mobile-menu { inset: 68px 0 0; padding-right: 18px; padding-left: 18px; }
  .tp26-foot-top { grid-template-columns: 1fr; }
  .tp26-foot-brand { grid-column: auto; }
  .tp26-foot-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .tp26-header *,
  .tp26-footer * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
