@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --header-h: 60px;
}

/* www 营销页：动画、粒子背景；色系对齐 docs/Untitled-1.html（白底、蓝 2563eb→1d4ed8） */

.proxy-region-showcase {
  position: relative;
  background: transparent;
}

.proxy-region-grid {
  justify-content: end;
}

.proxy-region-card {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid #e8e2d8;
  background: #ffffff;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.proxy-region-flag {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.proxy-region-flag::before,
.proxy-region-flag::after,
.proxy-region-flag span {
  content: '';
  position: absolute;
  inset: 0;
}

.proxy-region-flag-us {
  background: linear-gradient(to bottom, #ef3340 0 14%, #ffffff 14% 28%, #ef3340 28% 42%, #ffffff 42% 56%, #ef3340 56% 70%, #ffffff 70% 84%, #ef3340 84% 100%);
}
.proxy-region-flag-us span {
  width: 46%;
  height: 48%;
  background: #1d4f91;
  border-radius: 0 0 18px 0;
}
.proxy-region-flag-hk { background: #de1b44; }
.proxy-region-flag-hk span {
  inset: 12px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0 18%, transparent 19%), radial-gradient(circle at 50% 18%, #ffffff 0 12%, transparent 13%), radial-gradient(circle at 82% 42%, #ffffff 0 12%, transparent 13%), radial-gradient(circle at 68% 78%, #ffffff 0 12%, transparent 13%), radial-gradient(circle at 32% 78%, #ffffff 0 12%, transparent 13%), radial-gradient(circle at 18% 42%, #ffffff 0 12%, transparent 13%);
  transform: scale(0.78);
}
.proxy-region-flag-sg { background: linear-gradient(to bottom, #de1b44 0 50%, #ffffff 50% 100%); }
.proxy-region-flag-sg span {
  inset: 10px 11px 10px 10px;
  background: radial-gradient(circle at 34% 40%, #ffffff 0 5px, transparent 6px), radial-gradient(circle at 42% 33%, #ffffff 0 5px, transparent 6px), radial-gradient(circle at 50% 40%, #ffffff 0 5px, transparent 6px), radial-gradient(circle at 42% 47%, #ffffff 0 5px, transparent 6px), radial-gradient(circle at 78% 23%, #de1b44 0 20px, transparent 21px);
}
.proxy-region-flag-in { background: linear-gradient(to bottom, #ff9933 0 33%, #ffffff 33% 66%, #138808 66% 100%); }
.proxy-region-flag-in span {
  inset: 14px;
  background: radial-gradient(circle, #1a5fb4 0 18%, transparent 19%);
}
.proxy-region-flag-jp { background: #ffffff; }
.proxy-region-flag-jp span {
  inset: 12px;
  background: radial-gradient(circle, #dd1f26 0 33%, transparent 34%);
}
.proxy-region-flag-kr { background: #ffffff; }
.proxy-region-flag-kr span {
  inset: 10px;
  background:
    radial-gradient(circle at 50% 50%, #c81e2a 0 16%, transparent 17%),
    conic-gradient(from 45deg, #000000 0 12.5%, transparent 12.5% 25%, #000000 25% 37.5%, transparent 37.5% 50%, #000000 50% 62.5%, transparent 62.5% 75%, #000000 75% 87.5%, transparent 87.5% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 43%, #ffffff 44% 56%, transparent 57%);
  opacity: 0.92;
}

.proxy-region-name {
  font-size: 0.92rem;
  line-height: 1.2;
  color: #7b7b7b;
}

.proxy-region-count {
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

.cta-step-card {
  border: 1px solid #e2e2e2;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.cta-step-icon {
  flex: 0 0 auto;
}

.cta-step-title {
  margin: 0;
}

.cta-step-subtitle {
  margin-bottom: 0;
}

.cta-step-button {
  flex: 0 0 auto;
}

.ai-accordion-item {
  position: relative;
}

.ai-accordion-trigger i {
  flex-shrink: 0;
}

.ai-progress-track {
  height: 3px;
  border-radius: 9999px;
  overflow: hidden;
  background: #f1f1f1;
  transition: opacity 0.25s ease;
}

.ai-progress-track.is-hidden {
  opacity: 0;
}

.ai-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
}

.ai-accordion-item.active .ai-progress-track {
  opacity: 1;
}

.ai-accordion-item:not(.active) .ai-progress-track {
  opacity: 0;
}

.ai-accordion-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.42s ease, opacity 0.3s ease, transform 0.3s ease;
}

.ai-accordion-item.active .ai-accordion-panel {
  opacity: 1;
  transform: translateY(0);
}

.ai-accordion-panel.hidden {
  display: block;
}

.ai-accordion-item.active .ai-progress-track.is-hidden {
  opacity: 0;
}

.www-footer {
  position: relative;
  background:
    radial-gradient(circle at 15% 18%, rgba(46, 204, 113, 0.08), transparent 26%),
    radial-gradient(circle at 72% 12%, rgba(59, 130, 246, 0.08), transparent 20%),
    #000;
}

.www-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
}

.www-footer__inner {
  position: relative;
}

.www-footer__inner::before,
.www-footer__inner::after {
  content: '';
  position: absolute;
  top: 54px;
  bottom: 36px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.www-footer__inner::before {
  left: 20%;
}

.www-footer__inner::after {
  left: 40.5%;
}

.www-footer__heading {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
}

.www-footer__link,
.www-footer__partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.www-footer__link:hover,
.www-footer__partner:hover {
  opacity: 0.72;
  transform: translateX(1px);
}

.www-footer__partner-badge {
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  flex: 0 0 auto;
}

.www-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.www-footer__icon:hover {
  opacity: 0.65;
  transform: translateY(-1px);
}

.glass-nav {
  background: rgba(17, 24, 39, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link-dark {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

#navContent .nav-link-dark.active {
  color: #fff !important;
  font-weight: 500;
}

#navProductsTrigger {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#navProductsMenu {
  left: 0;
  right: 0;
}

.primary-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.ghost-border {
  outline: 1px solid rgba(226, 232, 240, 0.9);
  outline-offset: -1px;
}

.network-background {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(29, 78, 216, 0.05) 45%, rgba(255, 255, 255, 0.98) 100%);
  width: 100%;
  height: 100%;
}

.network-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 30%);
  animation: www-network-rotate 120s linear infinite;
  z-index: 1;
}

.network-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 65%, rgba(37, 99, 235, 0.1) 65%, rgba(37, 99, 235, 0.1) 70%, transparent 70%),
    linear-gradient(-45deg, transparent 65%, rgba(14, 165, 233, 0.1) 65%, rgba(14, 165, 233, 0.1) 70%, transparent 70%),
    linear-gradient(90deg, transparent 65%, rgba(139, 92, 246, 0.05) 65%, rgba(139, 92, 246, 0.05) 70%, transparent 70%);
  background-size: 80px 80px;
  animation: www-network-move 80s linear infinite;
  opacity: 0.6;
  z-index: 2;
}

.cta-step-card {
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, #a7d8e8 0%, #d6b4ea 50%, #f2d68c 100%) 1;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.cta-step-title,
.cta-step-subtitle,
.cta-step-button {
  font-family: "Inter", sans-serif;
}

@keyframes www-network-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes www-network-move {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.connection {
  position: absolute;
  height: 1px;
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 2;
}

/* 滚动进入前初始态（由页面内联脚本设为可见） */
.feature-card,
.testimonial-card,
.pricing-card,
.resource-card,
.contact-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

/* 首页定价区「热门」卡片强调（与产品 SKU 的 .product-plan-card 无关） */
.pricing-card.popular {
  border-color: #2563eb;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 12px 28px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
  .pricing-card.popular {
    transform: none;
  }
}

@keyframes www-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-float {
  animation: www-float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav.active {
    right: 0;
  }
}

.category-badge {
  transition: all 0.3s ease;
}

.category-badge:hover {
  transform: scale(1.05);
}

.product-stat-strip__value {
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #111111;
}

.product-stat-strip__label {
  margin-top: 0.5rem;
  font-size: 20px;
  line-height: 1.4;
  color: #8a8a8a;
}

@media (min-width: 640px) {
  .product-stat-strip__label {
    font-size: 12px;
  }
}

.solution-showcase-title {
  font-family: "Inter", sans-serif;
}
.solution-showcase-subtitle {
  font-family: "Inter", sans-serif;
}
.solution-showcase-grid {
  align-items: start;
}
.solution-showcase-card {
  text-align: left;
}
.solution-showcase-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #efe4ff;
  color: #a855f7;
  font-size: 0.95rem;
}
.solution-showcase-card-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.solution-showcase-card-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #777777;
}

@media (min-width: 1024px) {
  .solution-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Blog detail: CMS HTML body */
.blog-article-prose > *:first-child {
  margin-top: 0;
}
.blog-article-prose h1 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgb(17 24 39);
}
.blog-article-prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgb(17 24 39);
}
.blog-article-prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgb(31 41 55);
}
.blog-article-prose p {
  margin-top: 0;
  margin-bottom: 1rem;
}
.blog-article-prose ul,
.blog-article-prose ol {
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}
.blog-article-prose li {
  margin-bottom: 0.35rem;
}
.blog-article-prose a {
  color: rgb(37 99 235);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-article-prose a:hover {
  color: rgb(29 78 216);
}
.blog-article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}
.blog-article-prose pre,
.blog-article-prose code {
  font-size: 0.9em;
}
.blog-article-prose pre {
  overflow-x: auto;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgb(248 250 252);
  border: 1px solid rgb(226 232 240);
}
.blog-article-prose blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid rgb(37 99 235 / 0.35);
  color: rgb(71 85 105);
}
