:root {
  --bb-primary: #0f75e6;
  --bb-primary-dark: #0b5ec2;
  --bb-dark: #0f172a;
  --bb-text: #1e293b;
  --bb-muted: #5b6f8a;
  --bb-bg: #f3f9ff;
  --bb-white: #ffffff;
  --bb-radius: 12px;
  --bb-card-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  --bb-card-shadow-hover: 0 18px 34px rgba(15, 23, 42, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--bb-text);
  background: linear-gradient(180deg, #ffffff 0%, #f1f8ff 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(2px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

a {
  color: var(--bb-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(8px);
}

.header-topbar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.header-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-topbar-inner p {
  margin: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-links a {
  color: #bfdbfe;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  min-width: 0;
  max-width: 38%;
  flex: 0 1 auto;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bb-dark);
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  margin-left: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.main-nav li {
  font-size: 0.9rem;
  position: relative;
  white-space: nowrap;
}

.main-nav .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: 0.7rem;
  color: #64748b;
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 10px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  display: none;
  z-index: 120;
}

.main-nav .sub-menu li {
  font-size: 0.9rem;
}

.main-nav .sub-menu a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  color: #1e293b;
}

.main-nav > ul > li > a {
  position: relative;
  display: inline-block;
  padding: 6px 6px;
  border-radius: 8px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
}

.main-nav > ul > li > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(37, 99, 235, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 68%, rgba(56, 189, 248, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 26%, rgba(147, 197, 253, 0.3) 0 1.5px, transparent 2.5px);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.main-nav > ul > li > a:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.main-nav .sub-menu a:hover {
  background: #eff6ff;
  text-decoration: none;
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.menu-toggle {
  display: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(59, 130, 246, 0.2);
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 22px;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
  padding: 0 6px;
  border: 1px solid #bfdbfe;
  overflow: hidden;
}

.theme-toggle-sun,
.theme-toggle-moon {
  font-size: 0.68rem;
  line-height: 1;
  z-index: 1;
}

.theme-toggle-sun {
  color: #f59e0b;
}

.theme-toggle-moon {
  color: #1d4ed8;
}

.theme-toggle-knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  transition: transform 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 64%, rgba(255, 255, 255, 0.6) 0 1.8px, transparent 2.8px),
    radial-gradient(circle at 80% 28%, rgba(255, 255, 255, 0.55) 0 1.6px, transparent 2.6px);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 0.95;
  transform: translateY(0) scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--bb-primary) 0%, #2c78f0 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(44, 120, 240, 0.28);
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(0.98);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
  border-color: #cbd5e1;
  color: var(--bb-dark);
  background: #fff;
}

.btn-secondary:hover {
  text-decoration: none;
  border-color: var(--bb-primary);
  color: var(--bb-primary);
  transform: translateY(-1px);
}

.hero {
  background: linear-gradient(145deg, #ecf4ff 0%, #e9f6ff 100%);
  padding: 78px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  background:
    radial-gradient(circle at 12% 24%, rgba(56, 189, 248, 0.18) 0 6%, rgba(56, 189, 248, 0) 16%),
    radial-gradient(circle at 78% 34%, rgba(37, 99, 235, 0.16) 0 7%, rgba(37, 99, 235, 0) 20%),
    radial-gradient(circle at 42% 78%, rgba(147, 197, 253, 0.16) 0 7%, rgba(147, 197, 253, 0) 19%);
  filter: blur(1.5px);
  animation: hero-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(18, 93, 255, 0.17) 0%, rgba(18, 93, 255, 0) 68%);
  animation: hero-drift-soft 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--bb-dark);
}

.hero .lead {
  max-width: 48ch;
  color: #334155;
}

.eyebrow {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.hero-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-card li a {
  display: block;
  background: #eff6ff;
  border-radius: 10px;
  padding: 10px;
  color: #1e3a8a;
  font-size: 0.92rem;
}

.section {
  padding: 68px 0;
}

.section-compact {
  padding-top: 24px;
  padding-bottom: 8px;
}

.section-alt {
  background: var(--bb-bg);
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: var(--bb-dark);
  letter-spacing: 0.01em;
}

.section-intro {
  color: var(--bb-muted);
  max-width: 72ch;
}

.content-narrow {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.feature-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.post-card,
.loop-card,
.widget {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--bb-radius);
  padding: 18px;
  box-shadow: var(--bb-card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card:hover,
.post-card:hover,
.loop-card:hover,
.widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--bb-card-shadow-hover);
}

.feature-card::before,
.post-card::before,
.loop-card::before,
.widget::before,
.pricing-card::before,
.support-card::before,
.doc-card::before,
.scenario-card::before,
.step-card::before,
.timeline-step::before,
.kpi-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.18),
    rgba(56, 189, 248, 0.16),
    rgba(18, 93, 255, 0.18)
  );
  background-size: 220% 220%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: card-glow-gradient 8s linear infinite;
}

.feature-card:hover::before,
.post-card:hover::before,
.loop-card:hover::before,
.widget:hover::before,
.pricing-card:hover::before,
.support-card:hover::before,
.doc-card:hover::before,
.scenario-card:hover::before,
.step-card:hover::before,
.timeline-step:hover::before,
.kpi-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.feature-card::after,
.post-card::after,
.loop-card::after,
.widget::after,
.pricing-card::after,
.support-card::after,
.doc-card::after,
.scenario-card::after,
.step-card::after,
.timeline-step::after,
.kpi-card::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -90%;
  width: 52%;
  height: 320%;
  transform: rotate(16deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
}

.feature-card:hover::after,
.post-card:hover::after,
.loop-card:hover::after,
.widget:hover::after,
.pricing-card:hover::after,
.support-card:hover::after,
.doc-card:hover::after,
.scenario-card:hover::after,
.step-card:hover::after,
.timeline-step:hover::after,
.kpi-card:hover::after,
.testimonial-card:hover::after {
  opacity: 1;
  animation: card-sheen 0.9s ease;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--bb-dark);
}

.post-thumb {
  display: block;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f5f9;
}

.post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.03);
}

.post-thumb-fallback {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-weight: 700;
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.post-card .post-card-body h2 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.post-card .post-card-body h2 a {
  color: var(--bb-dark);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .post-card-body h2 a:hover {
  color: var(--bb-primary);
  text-decoration: none;
}

.home .post-card .post-card-body h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.home .post-card .post-card-body h3 a {
  color: var(--bb-dark);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home .post-card .post-card-body h3 a:hover {
  color: var(--bb-primary);
  text-decoration: none;
}

.text-link {
  font-weight: 600;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 22px;
}

.main-column {
  min-width: 0;
}

.sidebar-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sidebar-column .widget {
  padding: 14px;
}

.sidebar-column .widget-title,
.sidebar-column .widget h2,
.sidebar-column .widget h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--bb-dark);
}

.sidebar-column .widget ul {
  margin: 0;
  padding-left: 16px;
}

.sidebar-column .widget li {
  font-size: 0.92rem;
  line-height: 1.45;
}

.sidebar-column .widget li + li {
  margin-top: 6px;
}

.sidebar-column .search-form input,
.sidebar-column .search-form button {
  min-height: 34px;
  font-size: 0.9rem;
}

.sidebar-column .search-form button {
  padding: 0 12px;
}

.entry-header h1,
.archive-header h1 {
  margin-bottom: 10px;
  color: var(--bb-dark);
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content > * + * {
  margin-top: 1em;
}

.archive-desc {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--bb-muted);
  max-width: 72ch;
}

.content-freshness {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 6px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.84rem;
}

.entry-meta,
.loop-meta {
  color: var(--bb-muted);
  font-size: 0.9rem;
}

.loop-title {
  margin-top: 0;
  margin-bottom: 6px;
}

.post-toc h2,
.entry-paths h2 {
  margin-top: 0;
}

.post-toc-list {
  margin: 0;
  padding-left: 18px;
}

.post-toc-list li + li {
  margin-top: 6px;
}

.post-toc-list .toc-level-3 {
  margin-left: 12px;
  font-size: 0.94rem;
}

.post-toc-list a {
  color: #1d4ed8;
}

.bb-breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--bb-muted);
}

.bb-breadcrumbs a {
  color: var(--bb-muted);
}

.faq details {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  will-change: height;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

.faq summary::marker {
  color: #2563eb;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  border: 1px solid #c7dcff;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 50%, #f3f8ff 100%);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.08);
  position: relative;
  overflow: hidden;
}

.trust-strip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  transform: skewX(-22deg);
  animation: trust-strip-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.trust-label {
  color: #1e40af;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-list li {
  border: 1px solid #c7d2fe;
  color: #3730a3;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  box-shadow: 0 6px 14px rgba(30, 58, 138, 0.08);
  position: relative;
  padding-left: 24px;
}

.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
}

.kpi-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kpi-card {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5ff 100%);
  border-radius: 14px;
  padding: 20px;
}

.kpi-value {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #1d4ed8;
}

.kpi-label {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.92rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.scenario-tag {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  display: inline-block;
  padding: 3px 10px;
}

.scenario-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-step {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.timeline-step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
}

.timeline-step h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  margin: 0;
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.testimonial-card p {
  margin: 0 0 12px;
}

.testimonial-card cite {
  color: #475569;
  font-style: normal;
  font-size: 0.9rem;
}

.cloud-phone {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
}

.cloud-phone-card {
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.cloud-phone-card h3 {
  margin-top: 0;
}

.cloud-phone-card ul {
  margin: 0;
  padding-left: 18px;
}

.cloud-phone-card li + li {
  margin-top: 8px;
}

.fingerprint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fingerprint-chips span {
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.86rem;
}

.news-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.news-col {
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.news-col h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.news-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.news-col-head h3 {
  margin: 0;
}

.news-col-head a {
  font-size: 0.84rem;
  color: #2563eb;
}

.news-col ul {
  margin: 0;
  padding-left: 18px;
}

.news-col li + li {
  margin-top: 8px;
}

.news-col li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-col time {
  font-size: 0.76rem;
  color: #64748b;
}

.cta-banner {
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: linear-gradient(120deg, #eff6ff 0%, #f8fafc 60%, #e0f2fe 100%);
  padding: 26px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.site-footer {
  background: #0b1220;
  color: #dbe6ff;
  padding: 56px 0 24px;
}

.footer-service {
  margin-bottom: 16px;
  color: #bfdbfe;
}

.footer-service p {
  margin: 0;
}

.site-footer a {
  color: #dbe6ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.footer-grid h2 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form input {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 0 10px;
  width: 100%;
}

.search-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--bb-primary);
  color: #fff;
}

.bb-landing-hero {
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 100%);
  padding-top: 58px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e2e8f0;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
}

.landing-toc {
  align-self: start;
  position: sticky;
  top: 96px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.landing-toc h2 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.landing-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-toc li + li {
  margin-top: 8px;
}

.landing-block + .landing-block {
  margin-top: 26px;
}

.landing-block {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.landing-list {
  margin: 0;
  padding-left: 18px;
}

.landing-list li + li {
  margin-top: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 12px;
  padding: 14px;
}

.step-card span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.88rem;
}

.step-card h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-note {
  margin-top: 0;
  margin-bottom: 14px;
  color: #475569;
}

.billing-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.billing-chip {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-chip.is-active {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  font-weight: 700;
}

.billing-switch em {
  color: #dc2626;
  font-style: normal;
  font-weight: 700;
}

.pricing-save-note {
  margin: -6px 0 12px;
  color: #2563eb;
  font-size: 0.86rem;
}

.pricing-card {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--bb-card-shadow);
}

.pricing-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.pricing-card .price {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 700;
  color: #1d4ed8;
}

.pricing-card .price span {
  font-size: 0.95rem;
  color: var(--bb-muted);
  font-weight: 500;
  margin-left: 4px;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

.pricing-card li + li {
  margin-top: 8px;
}

.pricing-card--featured {
  border-color: #125dff;
  box-shadow: 0 16px 30px rgba(18, 93, 255, 0.12);
  transform: translateY(-6px);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 14px;
  text-align: left;
}

.compare-table th {
  background: #eff6ff;
  color: #1e3a8a;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.quick-tags a {
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  background: #eef2ff;
  color: #3730a3;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-methods span {
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  color: #1e3a8a;
  font-size: 0.9rem;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
}

.topic-strip > span {
  font-size: 0.84rem;
  color: #1e40af;
  font-weight: 700;
}

.topic-strip a {
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.82rem;
  padding: 4px 10px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.script-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.support-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
}

.doc-page {
  display: grid;
  gap: 14px;
}

.doc-card {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.download-note {
  border: 1px solid #bfdbfe;
  background: linear-gradient(120deg, #eff6ff 0%, #f8fafc 100%);
  border-radius: 12px;
  padding: 14px 16px;
  color: #1e3a8a;
}

.download-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.download-meta-item {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.download-meta-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #0f172a;
}

.doc-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #0f172a;
}

@keyframes card-glow-gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 180% 50%;
  }
}

@keyframes card-sheen {
  0% {
    left: -90%;
  }
  100% {
    left: 140%;
  }
}

@keyframes trust-strip-shine {
  0%,
  18% {
    left: -45%;
  }
  65%,
  100% {
    left: 120%;
  }
}

@keyframes hero-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1.8%, -2.2%, 0) scale(1.03);
  }
}

@keyframes hero-drift-soft {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.04);
  }
}

.entry-highlight {
  margin-bottom: 16px;
  border-left: 4px solid #93c5fd;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

html.theme-dark body {
  background: linear-gradient(180deg, #040914 0%, #0b1220 100%);
  color: #dbe7ff;
}

html.theme-dark .site-header {
  background: rgba(4, 9, 20, 0.9);
  border-bottom-color: #1e293b;
}

html.theme-dark .header-topbar {
  background: #020617;
  color: #93c5fd;
}

html.theme-dark .site-title,
html.theme-dark .main-nav a,
html.theme-dark .section h2,
html.theme-dark .post-card h3 a,
html.theme-dark .feature-card h3,
html.theme-dark .support-card h3,
html.theme-dark .doc-card h2 {
  color: #e2e8f0;
}

html.theme-dark .main-nav .sub-menu {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.6);
}

html.theme-dark .main-nav .sub-menu a {
  color: #dbeafe;
}

html.theme-dark .main-nav .sub-menu a:hover {
  background: #1e293b;
}

html.theme-dark .theme-toggle {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #334155;
}

html.theme-dark .theme-toggle-track {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}

html.theme-dark .theme-toggle-sun {
  color: #64748b;
}

html.theme-dark .theme-toggle-moon {
  color: #93c5fd;
}

html.theme-dark .theme-toggle-knob {
  transform: translateX(20px);
  background: #e2e8f0;
}

html.theme-dark .section-alt {
  background: #0a1425;
}

html.theme-dark .hero {
  background: linear-gradient(145deg, #0b1730 0%, #10203d 100%);
}

html.theme-dark .hero::before {
  background:
    radial-gradient(circle at 12% 24%, rgba(14, 165, 233, 0.18) 0 6%, rgba(14, 165, 233, 0) 16%),
    radial-gradient(circle at 78% 34%, rgba(59, 130, 246, 0.16) 0 7%, rgba(59, 130, 246, 0) 20%),
    radial-gradient(circle at 42% 78%, rgba(96, 165, 250, 0.16) 0 7%, rgba(96, 165, 250, 0) 19%);
}

html.theme-dark .hero .lead,
html.theme-dark .section-intro,
html.theme-dark .archive-desc,
html.theme-dark .content-freshness,
html.theme-dark .bb-breadcrumbs,
html.theme-dark .bb-breadcrumbs a,
html.theme-dark .entry-meta,
html.theme-dark .loop-meta,
html.theme-dark .kpi-label,
html.theme-dark .testimonial-card cite {
  color: #94a3b8;
}

html.theme-dark .hero-card,
html.theme-dark .feature-card,
html.theme-dark .post-card,
html.theme-dark .loop-card,
html.theme-dark .widget,
html.theme-dark .landing-toc,
html.theme-dark .landing-block,
html.theme-dark .pricing-card,
html.theme-dark .support-card,
html.theme-dark .doc-card,
html.theme-dark .scenario-card,
html.theme-dark .step-card,
html.theme-dark .timeline-step,
html.theme-dark .kpi-card,
html.theme-dark .testimonial-card,
html.theme-dark .faq details,
html.theme-dark .download-meta-item {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.5);
  color: #cbd5e1;
}

html.theme-dark .pricing-card li::before {
  color: #22c55e;
}

html.theme-dark .trust-strip {
  background: linear-gradient(90deg, #0f172a 0%, #111f35 50%, #12233d 100%);
  border-color: #334155;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.5);
}

html.theme-dark .trust-label {
  color: #93c5fd;
}

html.theme-dark .trust-list li,
html.theme-dark .quick-tags a,
html.theme-dark .topic-strip a,
html.theme-dark .fingerprint-chips span,
html.theme-dark .payment-methods span {
  background: #1e293b;
  border-color: #334155;
  color: #bfdbfe;
}

html.theme-dark .cta-banner,
html.theme-dark .download-note {
  background: linear-gradient(120deg, #111f35 0%, #0f172a 60%, #12233d 100%);
  border-color: #334155;
  color: #bfdbfe;
}

html.theme-dark .btn-secondary {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

html.theme-dark .btn-secondary:hover {
  border-color: #60a5fa;
  color: #93c5fd;
}

html.theme-dark .content-freshness {
  border-color: #334155;
  background: #1e293b;
  color: #93c5fd;
}

html.theme-dark .site-footer {
  background: #020617;
  color: #cbd5e1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .feature-grid,
  .post-grid,
  .footer-grid,
  .layout-grid,
  .landing-grid,
  .pricing-grid,
  .kpi-grid,
  .testimonial-grid,
  .cloud-phone,
  .news-columns,
  .scenario-grid,
  .timeline,
  .support-grid,
  .script-market-grid,
  .contact-grid,
  .download-meta-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 8px;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    padding: 12px 4%;
    display: grid;
    gap: 12px;
  }

  .main-nav .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
  }

  .main-nav .menu-item-has-children > a::after {
    float: right;
  }

  .header-cta {
    display: none;
  }

  .theme-toggle {
    order: 3;
    margin-left: auto;
  }

  .header-topbar-inner {
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-toc {
    position: static;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
