/* 红链云擎 xinqu — brand design layer */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --hl-bg: #f4f7fb;
  --hl-surface: #ffffff;
  --hl-ink: #0b1f3a;
  --hl-muted: #5b6b7c;
  --hl-accent: #2563eb;
  --hl-accent-hover: #1d4ed8;
  --hl-line: #e5eaf2;
  --hl-hot: #dc2626;
  --hl-topbar: #eef3fb;
  --hl-radius: 12px;
  --hl-radius-sm: 8px;
  --hl-font-display: "Manrope", "Noto Sans SC", sans-serif;
  --hl-font-body: "Noto Sans SC", "Manrope", sans-serif;
  --hl-shadow: 0 10px 36px rgba(11, 31, 58, 0.07);
  --hl-header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hl-font-body) !important;
  color: var(--hl-ink) !important;
  background: var(--hl-bg) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, .hl-display {
  font-family: var(--hl-font-display) !important;
  letter-spacing: -0.02em;
  color: var(--hl-ink);
}

a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* ----- Top bar ----- */
.hl-topbar {
  background: var(--hl-topbar) !important;
  border-bottom: 1px solid var(--hl-line);
  color: var(--hl-ink) !important;
  font-size: 13px;
  padding: 8px 0 !important;
}

.hl-topbar .hl-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  padding: 0 12px;
  color: var(--hl-ink) !important;
}

.hl-topbar a.hl-topbar-cta {
  display: inline-flex;
  align-items: center;
  background: var(--hl-accent) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 4px 12px !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  margin-left: 4px;
}

.hl-topbar a.hl-topbar-cta:hover {
  background: var(--hl-accent-hover) !important;
}

@media (max-width: 767.98px) {
  .hl-topbar.hd { display: none !important; }
}

@media (min-width: 768px) {
  .hl-topbar.hd { display: block !important; }
}

/* ----- Header ----- */
.hl-header.header-main,
.hl-header #logoAndNav,
.hl-header .main-header-menu-wrap {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hl-line) !important;
  box-shadow: none !important;
}

.hl-header .navbar {
  min-height: var(--hl-header-h);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.hl-header .hl-logo img {
  width: 118px !important;
  padding-top: 0 !important;
  height: auto;
}

.hl-header .custom-nav-link,
.hl-header .nav-link.custom-nav-link {
  color: var(--hl-ink) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 8px;
}

.hl-header .custom-nav-link:hover {
  color: var(--hl-accent) !important;
  background: rgba(37, 99, 235, 0.06);
}

.hl-header .hl-nav-hot {
  color: var(--hl-hot) !important;
  font-weight: 700 !important;
}

.hl-header .hl-hot-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px !important;
  background: var(--hl-hot) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  box-shadow: none !important;
  vertical-align: middle;
}

.hl-header .hl-btn-login,
.hl-header li.hl-btn-login,
.hl-header .dl.hl-btn-login {
  background: var(--hl-accent) !important;
  border-radius: var(--hl-radius-sm) !important;
  margin-left: 8px;
  overflow: hidden;
}

.hl-header .hl-btn-login > a,
.hl-header .hl-btn-login .custom-nav-link {
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.55rem 1rem !important;
}

.hl-header .hl-btn-login:hover {
  background: var(--hl-accent-hover) !important;
}

.hl-header .dropdown-menu {
  border: 1px solid var(--hl-line) !important;
  border-radius: var(--hl-radius) !important;
  box-shadow: var(--hl-shadow) !important;
  padding: 8px !important;
}

.hl-header .dropdown-item {
  border-radius: 8px;
  font-size: 14px !important;
}

.hl-header .gt {
  max-height: 300px;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .hl-header .gt { max-height: 560px !important; }
}

.hl-header .navbar-toggler {
  border: 1px solid var(--hl-line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 20px !important;
  color: var(--hl-ink);
}

/* ----- Buttons ----- */
.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--hl-radius-sm);
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
}

.hl-btn-primary {
  background: var(--hl-accent) !important;
  color: #fff !important;
  border-color: var(--hl-accent) !important;
}

.hl-btn-primary:hover {
  background: var(--hl-accent-hover) !important;
  border-color: var(--hl-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.hl-btn-ghost {
  background: transparent !important;
  color: var(--hl-ink) !important;
  border-color: var(--hl-line) !important;
}

.hl-btn-ghost:hover {
  border-color: var(--hl-accent) !important;
  color: var(--hl-accent) !important;
}

.hl-btn-light {
  background: #fff !important;
  color: var(--hl-ink) !important;
}

/* ----- Hero ----- */
.hl-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  padding: 72px 0 64px !important;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(900px 420px at 10% 80%, rgba(11, 31, 58, 0.08), transparent 55%),
    linear-gradient(160deg, #e8eef8 0%, #f7f9fc 45%, #ffffff 100%) !important;
}

.hl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hl-hero .container {
  position: relative;
  z-index: 1;
}

.hl-hero-brand {
  display: inline-block;
  font-family: var(--hl-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-accent);
  margin-bottom: 16px;
}

.hl-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 16px !important;
  color: var(--hl-ink) !important;
  max-width: 16ch;
}

.hl-hero-lead {
  font-size: 1.05rem !important;
  color: var(--hl-muted) !important;
  max-width: 36rem;
  margin: 0 0 28px !important;
}

.hl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hl-hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--hl-muted);
}

.hl-hero-note a {
  color: var(--hl-accent);
  font-weight: 600;
}

.hl-hero--activity {
  min-height: clamp(320px, 42vh, 460px);
  padding: 56px 0 48px !important;
}

/* ----- Sections ----- */
.hl-section {
  padding: 72px 0 !important;
  background: transparent;
}

.hl-section--surface {
  background: var(--hl-surface) !important;
}

.hl-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hl-section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

.hl-section-head p {
  color: var(--hl-muted) !important;
  margin: 0 !important;
  font-size: 15px;
}

.hl-feature-grid .hl-feature {
  background: var(--hl-surface);
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius);
  padding: 28px 22px;
  height: 100%;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hl-feature-grid .hl-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--hl-shadow);
  border-color: rgba(37, 99, 235, 0.35);
}

.hl-feature img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: none !important;
}

.hl-feature h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.hl-feature p {
  color: var(--hl-muted);
  font-size: 14px;
  margin: 0;
}

.hl-reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--hl-surface);
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius);
  padding: 24px;
  height: 100%;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hl-reason:hover {
  box-shadow: var(--hl-shadow);
  transform: translateY(-2px);
}

.hl-reason img {
  width: 48px !important;
  filter: none !important;
}

.hl-reason h3 {
  font-size: 1.05rem !important;
  margin: 0 0 6px !important;
}

.hl-reason p {
  margin: 0;
  color: var(--hl-muted);
  font-size: 14px;
  text-align: left !important;
}

/* ----- Product cards (activity) ----- */
.hl-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.hl-product-card {
  position: relative;
  background: var(--hl-surface);
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius);
  padding: 28px 24px;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hl-shadow);
  border-color: rgba(37, 99, 235, 0.4);
}

.hl-product-card.is-hot {
  border-color: var(--hl-accent);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.hl-product-card .hl-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--hl-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 1;
}

.hl-product-card h3,
.hl-product-card .product-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 0 16px !important;
}

.hl-product-card .hl-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hl-line);
  font-size: 14px;
  color: var(--hl-muted);
}

.hl-product-card .hl-spec:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.hl-product-card .hl-price {
  margin: 16px 0;
}

.hl-product-card .hl-price strong {
  font-family: var(--hl-font-display);
  font-size: 1.75rem;
  color: var(--hl-ink);
}

.hl-product-card .discount-badge,
.hl-product-card .featured::before {
  display: none !important;
}

/* kill old ribbon styles when brand loaded */
.product-card.featured::before {
  content: none !important;
  display: none !important;
}

.product-card,
.hl-product-card.product-card {
  border-radius: var(--hl-radius) !important;
  box-shadow: none !important;
  border: 1px solid var(--hl-line);
}

.product-card.featured,
.hl-product-card.featured {
  border-color: var(--hl-accent) !important;
}

/* ----- Page shell ----- */
.hl-page {
  padding: 48px 0 72px;
}

.hl-page-header {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--hl-line);
  margin-bottom: 32px;
  background:
    linear-gradient(180deg, #eef3fb 0%, var(--hl-bg) 100%);
}

.hl-page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
  font-weight: 800 !important;
  margin: 0 0 8px !important;
}

.hl-page-header p {
  color: var(--hl-muted);
  margin: 0;
}

.hl-prose,
.hl-prose p,
.hl-card {
  color: var(--hl-ink);
}

.hl-card {
  background: var(--hl-surface);
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius);
  padding: 24px;
  box-shadow: none;
}

.hl-muted { color: var(--hl-muted) !important; }
.hl-hot-text { color: var(--hl-hot) !important; font-weight: 600; }

/* ----- Footer ----- */
.hl-footer,
.hl-footer.footer-top,
.hl-footer.gradient-bg2 {
  background: var(--hl-ink) !important;
  padding-top: 64px !important;
  margin-top: 0;
}

.hl-footer .footer-nav-wrap,
.hl-footer .footer-nav-wrap a,
.hl-footer .nav-link,
.hl-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hl-footer .nav-item:first-child,
.hl-footer .footer-nav-wrap .nav-item:not(:has(a)) {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--hl-font-display);
}

.hl-footer .nav-link {
  padding-left: 0 !important;
  font-size: 14px;
}

.hl-footer .nav-link:hover {
  color: #fff !important;
}

.hl-footer .hl-logo-foot img {
  width: 120px;
  filter: brightness(0) invert(1);
}

.hl-footer .hl-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding: 20px 0 28px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-align: center;
}

.hl-footer .hl-copy a {
  color: #fff !important;
}

.hl-scroll-top.scroll-top {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: var(--hl-accent) !important;
  border: none !important;
  right: 20px;
  bottom: 24px;
}

.hl-scroll-top .ti-angle-up {
  font-size: 16px !important;
  line-height: 2.6 !important;
  color: #fff;
}

/* ----- Motion ----- */
@keyframes hl-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hl-fade-up {
  animation: hl-fade-up 0.7s ease both;
}

.hl-fade-up-delay {
  animation: hl-fade-up 0.7s ease 0.12s both;
}

.hl-fade-up-delay-2 {
  animation: hl-fade-up 0.7s ease 0.22s both;
}

@media (prefers-reduced-motion: reduce) {
  .hl-fade-up,
  .hl-fade-up-delay,
  .hl-fade-up-delay-2,
  .hl-product-card,
  .hl-feature,
  .hl-reason,
  .hl-btn-primary {
    animation: none !important;
    transition: none !important;
  }
}

/* ----- Compatibility overrides ----- */
.main-with-padding {
  padding-top: 0 !important;
}

.gray-light-bg {
  background: var(--hl-bg) !important;
}

.pricing-section.ptb-100 {
  padding: 64px 0 !important;
}

.hkweb7 .div1 {
  font-family: var(--hl-font-display);
  font-weight: 800;
  color: var(--hl-ink);
}

/* Content pages: legacy page-header -> brand look */
.page-header-section.ptb-100,
.page-header-section.gradient-bg,
.page-header-section.ba {
  min-height: auto !important;
  padding: 48px 0 36px !important;
  background:
    linear-gradient(180deg, #eef3fb 0%, var(--hl-bg) 100%) !important;
  filter: none !important;
}

.page-header-section .page-header-content h1,
.page-header-section h1 {
  font-family: var(--hl-font-display) !important;
  font-weight: 800 !important;
  color: var(--hl-ink) !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
}

.page-header-section .lead,
.page-header-section p {
  color: var(--hl-muted) !important;
}

.page-header-section .video-background {
  display: none !important;
}

.knowledge-base-section .card,
.main .card {
  border: 1px solid var(--hl-line) !important;
  border-radius: var(--hl-radius) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.knowledge-base-section .card-header,
.main .card-header {
  background: #eef3fb !important;
  border-bottom: 1px solid var(--hl-line) !important;
  font-family: var(--hl-font-display);
  font-weight: 700;
  color: var(--hl-ink);
}

.knowledge-base-section .nav-pills .nav-link.active {
  background: var(--hl-accent) !important;
}

.single-testimonial {
  border: 1px solid var(--hl-line) !important;
  border-radius: var(--hl-radius) !important;
  box-shadow: none !important;
}

.call-to-action.ptb-100 {
  padding: 64px 0 !important;
}
