:root {
  --ink: #0b1324;
  --muted: #5b6b82;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --surface: #ffffff;
  --surface-alt: #f2f6fb;
  --line: #d7e0ea;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
body.front-body {
  margin: 0;
  font-family: "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f5f7fb;
  line-height: 1.6;
}

section * { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Content wrapping for long strings in articles/pages */
.post-content,
.product-body {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.post-content a,
.post-content p,
.post-content li,
.post-content td,
.post-content th,
.product-body a,
.product-body p,
.product-body li,
.product-body td,
.product-body th {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.post-content pre,
.post-content code,
.product-body pre,
.product-body code {
  white-space: pre-wrap;
  word-break: break-word;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-strong);
  display: inline-block;
}

.front-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.front-topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.front-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.front-brand img { height: 36px; }
.front-brand-text { letter-spacing: 0.02em; }

.front-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.front-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.front-nav-item { position: relative; }
.front-nav-link {
  font-size: 15px;
  color: var(--ink);
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.front-nav-link.is-active {
  color: var(--accent-strong);
}

.front-nav-link.is-active::after {
  color: var(--accent-strong);
}

.front-nav-item.has-children > .front-nav-link::after {
  content: "\\25BE";
  font-size: 12px;
  color: var(--muted);
}

.front-nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 180px;
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.front-nav-item:hover > .front-nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.front-nav-dropdown .front-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.front-nav-dropdown .front-nav-link {
  padding: 8px 10px;
  border-radius: 8px;
  width: 100%;
}

.front-nav-dropdown .front-nav-link:hover {
  background: #edf2ff;
}

.front-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.front-link {
  font-size: 14px;
  color: var(--muted);
}

.front-btn {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2); }

.front-btn:active { transform: translateY(0); }

.front-btn-ghost {
  background: transparent;
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: var(--accent-strong);
}

.front-btn-light {
  background: #edf2ff;
  color: var(--accent-strong);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.front-nav-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.front-nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.front-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.front-header .front-brand-text,
.front-header .front-nav-link,
.front-header .front-link {
  color: var(--ink);
}

.front-header .front-nav-link:hover {
  color: var(--accent-strong);
}

.front-header .front-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.front-header .front-btn:hover {
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.front-header .front-nav-item.has-children > .front-nav-link::after {
  color: var(--muted);
}

.front-header .front-nav-dropdown {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.front-header .front-nav-dropdown .front-nav-link {
  color: var(--ink);
}

.front-header .front-nav-dropdown .front-nav-link:hover {
  background: #edf3ff;
}

.front-header .front-nav-toggle {
  border-color: var(--line);
  background: #ffffff;
}

.front-header .front-nav-toggle span {
  background: var(--ink);
}

.front-main { overflow-x: hidden; }

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 90px 24px 70px;
  color: #f8fafc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0b1b3a url("/images/front/hero-bg.jpg") center/cover no-repeat;
  z-index: 0;
  animation: heroPan 22s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, 0.62);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #e2e8f0;
}

 

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--ink);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}
.hero-panel-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-panel-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  background: #edf2ff;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.metric-num {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-strong);
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
}

.hero-slider {
  position: relative;
  min-height: 320px;
}

.hero-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.hero-title {
  font-size: clamp(30px, 5vw, 48px);
  margin: 18px 0 12px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  max-width: 560px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.hero-dots button {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(226, 232, 240, 0.35);
  cursor: pointer;
}

.hero-dots button.is-active { background: var(--accent); }

.section {
  padding: 70px 24px;
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-alt { background: var(--surface-alt); }

.value-strip {
  padding-top: 24px;
  padding-bottom: 24px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 10px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  position: relative;
}

.value-grid::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 2px;
  background: rgba(37, 99, 235, 0.35);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.value-item {
  text-align: center;
  padding: 10px 12px;
  position: relative;
}

.value-item::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.value-item:last-child::after {
  display: none;
}

.value-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.01em;
}

.value-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.section-media {
  position: relative;
  color: #e2e8f0;
  overflow: hidden;
}

.section-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroPan 24s ease-in-out infinite;
}

.section-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, 0.68);
  z-index: 0;
}

.section-platform::before {
  background-image: url("/images/front/platform-bg.jpg");
}

.section-platform .card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.section-platform .card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 24px;
  transform: rotate(12deg);
}

.section-platform .card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 3px;
  background: rgba(37, 99, 235, 0.5);
}

.platform-tables {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.media-tab-panels {
  display: grid;
  gap: 16px;
}

.media-tab-panel {
  display: none;
}

.media-tab-panel.is-active {
  display: block;
}

.media-table-tabs .mp-tabs {
  margin-bottom: 16px;
}

.section-platform-tables {
  background: #f5f7fb;
  --border-color: #d7e0ea;
}

.media-table-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.media-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-table-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.platform-table-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.platform-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-table-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.platform-table {
  display: grid;
  gap: 6px;
}

.platform-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1.2fr) 80px;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.6);
  font-size: 13px;
  color: var(--ink);
}

.platform-table-header {
  background: #edf2ff;
  font-weight: 600;
  color: var(--accent-strong);
}

.platform-table-row a {
  color: var(--accent-strong);
}

@media (max-width: 900px) {
  .platform-table-row {
    grid-template-columns: minmax(0, 1.4fr) 90px minmax(0, 1fr) 70px;
  }
}

@media (max-width: 640px) {
  .platform-table-row {
    grid-template-columns: 1fr;
  }
  .platform-table-header {
    display: none;
  }
}

.platform-tabs {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.platform-tab-list {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: fit-content;
}

.platform-tab {
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.75);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

.platform-tab.is-active {
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.platform-tab.is-active::after {
  content: "";
  display: block;
  margin-top: 6px;
  height: 2px;
  width: 100%;
  background: rgba(37, 99, 235, 0.4);
  border-radius: 999px;
}

.platform-tab:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.platform-panels {
  display: grid;
}

.platform-panel {
  display: none;
  animation: panelFade 0.25s ease;
}

.platform-panel.is-active {
  display: block;
}

.platform-panel.is-active .card {
  animation: panelCard 0.35s ease both;
}

.platform-panel.is-active .card:nth-child(2) { animation-delay: 0.04s; }
.platform-panel.is-active .card:nth-child(3) { animation-delay: 0.08s; }
.platform-panel.is-active .card:nth-child(4) { animation-delay: 0.12s; }
.platform-panel.is-active .card:nth-child(5) { animation-delay: 0.16s; }
.platform-panel.is-active .card:nth-child(6) { animation-delay: 0.2s; }

.section-process::before {
  background-image: url("/images/front/process-bg.jpg");
}

.section-visual {
  position: relative;
  overflow: hidden;
}

.section-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroPan 26s ease-in-out infinite;
}

.section-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 251, 0.92);
  z-index: 0;
}

.section-solutions::before {
  background-image: url("/images/front/solutions-bg.jpg");
}

.section-academy::before {
  background-image: url("/images/front/academy-bg.jpg");
}

.section-head h2,
.section-head h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

.section-media .section-head h2,
.section-media .section-head h1 {
  color: #f8fafc;
}

.section-media .section-head p {
  color: rgba(226, 232, 240, 0.8);
}

.section-media .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.intro-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.intro-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  min-height: 140px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.section-media .card,
.section-media .process-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(226, 232, 240, 0.8);
  color: var(--ink);
}

.card-title { font-weight: 700; margin-bottom: 8px; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.module-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  min-height: 140px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.template-section { margin-top: 40px; }
.template-head h3 { margin: 0 0 8px; }

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.template-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.template-card {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 360px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.template-cover {
  height: 160px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.template-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.template-card:hover .template-cover img {
  transform: scale(1.04);
}

.template-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.0) 30%, rgba(15, 23, 42, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.template-card:hover .template-cover-overlay {
  opacity: 1;
}

.template-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(37, 99, 235, 0.9);
  z-index: 2;
}

.template-cover-placeholder {
  color: var(--muted);
  font-size: 14px;
}

.template-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}
.template-title { font-weight: 700; }
.template-summary {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.template-price { color: var(--accent-strong); font-weight: 700; }

.front-other-business {
  margin-top: 26px;
}

.front-other-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.front-other-business .marketing-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 12px;
}

.front-other-business .marketing-card {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 13px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.front-other-business .mc-title {
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.front-other-business .mc-desc {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.front-other-business .mc-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 12px;
  margin-top: auto;
}

.front-other-business .mc-action {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #2c7be5;
  background: #2c7be5;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.front-other-business .mc-action--disabled {
  border-color: #cbd5f5;
  background: #cbd5f5;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .front-other-business .marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .front-other-business .marketing-grid {
    grid-template-columns: 1fr;
  }
  .front-other-business .marketing-card {
    padding: 12px 14px;
  }
  .front-other-business .mc-desc {
    -webkit-line-clamp: 4;
  }
  .front-other-business .mc-action {
    padding: 6px 14px;
    font-size: 13px;
  }
}
.template-empty { color: var(--muted); }

.template-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.template-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-strong);
}

.template-footer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.process-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.process-card ol {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.flow-tabs {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.flow-tab-list {
  display: inline-flex;
  gap: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: fit-content;
}

.flow-tab {
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.75);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.flow-tab.is-active {
  background: #ffffff;
  color: var(--accent-strong);
}

.flow-panels {
  display: grid;
  gap: 16px;
}

.flow-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow);
  display: none;
  animation: panelFade 0.25s ease;
}

.flow-panel.is-active {
  display: block;
}

.flow-panel h3 {
  margin-top: 0;
}

.flow-timeline {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  position: relative;
}

.flow-timeline-item {
  position: relative;
  padding-left: 40px;
}

.flow-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.4);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-strong);
  position: absolute;
  left: 0;
  top: 0;
}

.flow-line {
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -16px;
  width: 2px;
  background: rgba(37, 99, 235, 0.2);
}

.flow-timeline-item:last-child .flow-line {
  display: none;
}

.flow-content {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 6px;
  position: relative;
}

.flow-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: rgba(37, 99, 235, 0.4);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.flow-text {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.flow-subtext {
  font-size: 12px;
  color: rgba(91, 107, 130, 0.7);
}

.flow-timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.flow-timeline-horizontal .flow-timeline-item {
  padding-left: 0;
  padding-top: 24px;
}

.flow-timeline-horizontal .flow-dot {
  position: absolute;
  left: 0;
  top: 0;
}

.flow-timeline-horizontal .flow-line {
  left: 30px;
  top: 12px;
  height: 2px;
  width: calc(100% - 30px);
  bottom: auto;
}

.flow-timeline-horizontal .flow-content {
  margin-top: 10px;
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.academy-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.academy-title { font-weight: 700; }
.academy-excerpt {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.academy-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.academy-date { color: var(--muted); font-size: 12px; }
.academy-updated { color: var(--muted); font-size: 12px; }
.academy-empty { color: var(--muted); }

@media (max-width: 1024px) {
  .academy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }
}

.academy-tabs {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.academy-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.academy-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.academy-tab.is-active {
  color: var(--accent-strong);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.academy-panels {
  display: grid;
}

.academy-panel {
  display: none;
  animation: panelFade 0.25s ease;
}

.academy-panel.is-active {
  display: block;
}

.partner-marquee {
  margin-top: 32px;
  overflow: hidden;
  position: relative;
}

.partner-track {
  display: flex;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-track.is-scroll {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  animation: partnerScroll 32s linear infinite;
}

.partner-marquee:hover .partner-track.is-scroll {
  animation-play-state: paused;
}

.partner-card {
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(215, 224, 234, 0.9);
  text-align: center;
  color: var(--muted);
  min-width: 160px;
  flex: 0 0 auto;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  margin-top: 32px;
}

.capability-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.capability-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23d7e0ea' stroke-width='1' opacity='0.4'><path d='M0 40h160'/><path d='M0 80h160'/><path d='M0 120h160'/><path d='M40 0v160'/><path d='M80 0v160'/><path d='M120 0v160'/></g></svg>");
  opacity: 0.35;
}

.capability-main > * {
  position: relative;
  z-index: 1;
}

.capability-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent-strong);
  background: rgba(37, 99, 235, 0.1);
  margin-bottom: 12px;
}

.capability-main h3 {
  margin: 0 0 12px;
}

.capability-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.capability-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.capability-meta-item {
  display: grid;
  gap: 6px;
}

.capability-meta-label {
  font-size: 12px;
  color: var(--muted);
}

.capability-meta-value {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.capability-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  display: grid;
  gap: 6px;
}

.capability-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 10px;
  position: relative;
}

.capability-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(37, 99, 235, 0.6);
  border-radius: 4px;
}

.capability-card-title {
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 8px;
}

.capability-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.front-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 50px 24px 30px;
}

.front-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.front-footer-title { font-weight: 700; margin-bottom: 10px; }
.front-footer-desc { color: #94a3b8; }
.front-footer-links { display: grid; gap: 8px; color: #94a3b8; }
.front-footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  display: grid;
  gap: 8px;
}

.post-card h2 { margin: 0; font-size: 20px; }
.post-card p { margin: 0; color: var(--muted); }
.post-meta { font-size: 12px; color: var(--muted); }
.post-empty { color: var(--muted); }

.post-hero { padding: 120px 24px 20px; }
.post-content {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  line-height: 1.75;
}

.post-content img { max-width: 100%; height: auto; }

.front-pager {
  display: flex;
  gap: 8px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.front-pager.front-pager-center {
  justify-content: center;
}

.pager-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.pager-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pager-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metric-num {
  font-variant-numeric: tabular-nums;
}

.front-logout-form { margin: 0; }

@media (max-width: 1024px) {
  .front-topbar { flex-wrap: wrap; }
  .front-nav { order: 3; width: 100%; justify-content: flex-start; }
  .front-nav-list { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .front-nav { display: none; width: 100%; }
  .front-nav.is-open { display: block; }
  .front-nav-list { flex-direction: column; align-items: flex-start; gap: 10px; }
  .front-nav-dropdown { position: static; opacity: 1; transform: none; box-shadow: none; padding: 0; }
  .front-nav-toggle { display: inline-flex; }
  .front-actions { margin-left: auto; }
  .hero { padding-top: 110px; }
}

@media (max-width: 600px) {
  .front-topbar { padding: 12px 16px; }
  .hero { min-height: 460px; }
  .section { padding: 60px 16px; }
  .post-content { padding: 20px; }
}


.card, .module-card, .intro-card, .process-card, .academy-card, .template-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .module-card:hover, .intro-card:hover, .process-card:hover, .academy-card:hover, .template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-right {
    justify-content: flex-start;
  }
  .hero-panel {
    width: 100%;
  }
  .capability-layout {
    grid-template-columns: 1fr;
  }
  .capability-cards {
    grid-template-columns: 1fr;
  }
  .capability-meta {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-item::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-pill {
    font-size: 11px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes heroPan {
  0% { transform: scale(1) translateX(0); }
  50% { transform: scale(1.04) translateX(-1.5%); }
  100% { transform: scale(1) translateX(0); }
}

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelCard {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-pill,
  .partner-track {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
