*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #374151;
  background: radial-gradient(circle at top left, #fff7fb 0, #f9fbff 40%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9ebc, #ffc8dd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 158, 188, 0.45);
}

.logo-icon.small {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.logo-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 11px;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 14px;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: #111827;
  background: rgba(248, 250, 252, 0.9);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 用户菜单 */
.user-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.notification-icon:hover {
  color: #111827;
  background: #f3f4f6;
}

.user-avatar-dropdown {
  position: relative;
}

.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.user-avatar-btn:hover {
  background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
  transform: scale(1.05);
}

.user-avatar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  pointer-events: none;
}

.user-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  transition: all 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-item svg {
  flex-shrink: 0;
  color: #6b7280;
  transition: color 0.15s ease;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #111827;
}

.dropdown-item:hover svg {
  color: #111827;
}

.dropdown-item-danger {
  color: #dc2626;
}

.dropdown-item-danger:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.dropdown-item-danger svg {
  color: #dc2626;
}

.dropdown-item-danger:hover svg {
  color: #b91c1c;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}

.btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9ebc, #ffcc99);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 158, 188, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255, 158, 188, 0.55);
}

.btn-outline {
  border: 1px solid #f472b6;
  color: #db2777;
  background: rgba(255, 247, 253, 0.8);
}

.btn-outline:hover {
  background: #fdf2ff;
}

.btn-text {
  color: #6b7280;
  padding-inline: 10px;
}

.btn-text:hover {
  color: #111827;
}

.btn-soft {
  background: #f9fafb;
  color: #374151;
  border-radius: 999px;
}

.btn-soft:hover {
  background: #f3f4f6;
}

.btn-sub {
  font-weight: 500;
  font-size: 11px;
  opacity: 0.9;
}

.full-width {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.55;
  z-index: -1;
}

.hero::before {
  left: -80px;
  background: radial-gradient(circle at 30% 30%, #fecdd3 0, rgba(254, 205, 211, 0) 70%),
    radial-gradient(circle at 70% 70%, #bfdbfe 0, rgba(191, 219, 254, 0) 70%);
}

.hero::after {
  right: -80px;
  background: radial-gradient(circle at 30% 30%, #fef3c7 0, rgba(254, 243, 199, 0) 70%),
    radial-gradient(circle at 70% 70%, #e9d5ff 0, rgba(233, 213, 255, 0) 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(254, 242, 242, 0.9);
  color: #f97373;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #111827;
}

.hero-title span {
  background: linear-gradient(120deg, #f97373, #fb7185, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-typewriter {
  position: relative;
  white-space: nowrap;
}

.hero-typewriter::after {
  content: "│";
  display: inline-block;
  margin-left: 2px;
  font-weight: 400;
  animation: caret-blink 0.9s steps(1, end) infinite;
}

@keyframes caret-blink {
  0%,
  60% {
    opacity: 1;
  }
  61%,
  100% {
    opacity: 0;
  }
}

.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  max-width: 480px;
}

.hero-actions {
  margin: 22px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.chip {
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.chip-pink {
  background: rgba(254, 226, 226, 0.8);
  color: #db2777;
}

.chip-mint {
  background: rgba(209, 250, 229, 0.8);
  color: #059669;
}

.chip-yellow {
  background: rgba(254, 243, 199, 0.8);
  color: #b45309;
}

.chip-lilac {
  background: rgba(237, 233, 254, 0.9);
  color: #7c3aed;
}

.chip-outline {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #6b7280;
}
/* 首页 Banner 漫剧卡片叠加 */
.hero-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 280px;
}

.hero-comic-card {
  position: absolute;
  width: 80%;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
  overflow: hidden;
  transform-origin: center;
}

.hero-comic-thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.thumb-1 {
  background-image: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.thumb-2 {
  background-image: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.thumb-3 {
  background-image: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.thumb-4 {
  background-image: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.thumb-5 {
  background-image: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.thumb-6 {
  background-image: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?w=400&h=300&fit=crop&auto=format');
  background-size: cover;
  background-position: center;
}

.hero-comic-meta {
  padding: 8px 12px 10px;
  display: grid;
  gap: 4px;
}

.hero-comic-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.hero-tag-pink {
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
}

.hero-tag-mint {
  background: rgba(209, 250, 229, 0.9);
  color: #059669;
}

.hero-tag-lilac {
  background: rgba(237, 233, 254, 0.9);
  color: #7c3aed;
}

.hero-comic-title {
  font-size: 12px;
  color: #374151;
}

.hero-comic-card.card-1 {
  top: 4px;
  left: 16%;
  transform: rotate(-4deg);
}

.hero-comic-card.card-2 {
  top: 52px;
  left: -2%;
  transform: rotate(5deg);
}

.hero-comic-card.card-3 {
  top: 100px;
  left: 20%;
  transform: rotate(-2deg);
}

.hero-comic-card.card-4 {
  top: 26px;
  right: -8%;
  transform: rotate(7deg);
}

.hero-comic-card.card-5 {
  top: 120px;
  right: -4%;
  transform: rotate(-6deg);
}

.hero-stack-right {
  margin-left: auto;
}

.hero-stack-left {
  position: absolute;
  left: -40px;
  top: 40px;
  max-width: 260px;
  height: 220px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-comic-card.card-l1 {
  top: 10px;
  left: 10%;
  transform: rotate(-6deg) scale(0.9);
}

.hero-comic-card.card-l2 {
  top: 80px;
  left: -4%;
  transform: rotate(4deg) scale(0.9);
}

.hero-badge-floating {
  position: absolute;
  right: -6px;
  bottom: -8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fecdd3, #fef3c7);
  box-shadow: 0 14px 32px rgba(248, 113, 113, 0.35);
  font-size: 11px;
  color: #7c2d12;
}

/* 通用区块 */
.section {
  padding: 32px 0 40px;
}

.section-header {
  text-align: left;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
  margin-bottom: 4px;
  color: #111827;
}

.section-header p {
  font-size: 13px;
  color: #6b7280;
}

.section-header.with-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 用户动态滚动消息条 */
.activity-ticker-section {
  background: linear-gradient(135deg, #fef2f2, #ffffff);
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.activity-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.activity-ticker-icon {
  font-size: 20px;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.activity-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.activity-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: scroll-up 30s linear infinite;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.activity-ticker-item {
  font-size: 13px;
  color: #4b5563;
  white-space: nowrap;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-ticker-item .user-name {
  color: #fb7185;
  font-weight: 600;
}

.activity-ticker-item .action {
  color: #6b7280;
}

.activity-ticker-item .time {
  color: #9ca3af;
  font-size: 12px;
}

.activity-ticker-item .reward {
  color: #10b981;
  font-weight: 600;
}

.section-features {
  padding-top: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.18);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-icon-pink {
  background: rgba(252, 231, 243, 0.9);
}

.feature-icon-mint {
  background: rgba(209, 250, 229, 0.9);
}

.feature-icon-yellow {
  background: rgba(254, 243, 199, 0.9);
}

.feature-icon-lilac {
  background: rgba(237, 233, 254, 0.9);
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.feature-link {
  font-size: 12px;
  color: #ec4899;
}

/* 资源 */
.section-resources {
  background: radial-gradient(circle at top left, #fdf2ff 0, #ffffff 60%);
}

.with-actions .pill-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f9fafb;
  color: #6b7280;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.pill:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.pill.active {
  background: #fef2f2;
  color: #fb7185;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(251, 113, 133, 0.2);
}

.resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.search-box {
  flex: 1;
}

.search-box input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
}

.resource-meta {
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

.split-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #d1d5db;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.resource-card .card-thumb {
  height: 120px;
  background-size: cover;
  background-position: center;
}

.thumb-bg-1 {
  background-image: linear-gradient(135deg, #bfdbfe, #fecaca);
}

.thumb-bg-2 {
  background-image: linear-gradient(135deg, #f9a8d4, #fecaca);
}

.thumb-bg-3 {
  background-image: linear-gradient(135deg, #fef3c7, #e0f2fe);
}

.thumb-bg-4 {
  background-image: linear-gradient(135deg, #e0f2fe, #ede9fe);
}

.card-body {
  padding: 12px 12px 8px;
}

.card-body h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.card-body p {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.card-footer {
  padding: 8px 12px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f3f4f6;
}

.card-meta {
  font-size: 11px;
  color: #9ca3af;
}

/* 案例 */
.section-cases {
  background: #ffffff;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  padding: 14px 14px 12px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.2);
}

.case-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
  margin-bottom: 6px;
}

.case-badge.badge-mint {
  background: rgba(209, 250, 229, 0.9);
  color: #059669;
}

.case-badge.badge-lilac {
  background: rgba(237, 233, 254, 0.9);
  color: #7c3aed;
}

.case-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.case-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.case-meta-list {
  font-size: 12px;
  color: #6b7280;
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 10px;
  display: grid;
  gap: 4px;
}

/* 智能体 */
.section-agents {
  background: radial-gradient(circle at top right, #eef2ff 0, #ffffff 60%);
}

.agent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-card {
  padding: 14px 14px 14px;
}

.agent-header {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.agent-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.avatar-script {
  background: rgba(254, 226, 226, 0.9);
}

.avatar-style {
  background: rgba(237, 233, 254, 0.9);
}

.avatar-voice {
  background: rgba(219, 234, 254, 0.9);
}

.agent-capabilities {
  font-size: 12px;
  color: #6b7280;
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 10px;
  display: grid;
  gap: 4px;
}

/* 工作流 */
.section-workflow {
  background: #ffffff;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.workflow-card {
  padding: 16px;
  transition: all 0.3s ease;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.25);
}

.workflow-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.workflow-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.badge-beginner {
  background: rgba(254, 243, 199, 0.9);
  color: #d97706;
}

.badge-brand {
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
}

.badge-education {
  background: rgba(219, 234, 254, 0.9);
  color: #2563eb;
}

.badge-comic {
  background: rgba(237, 233, 254, 0.9);
  color: #7c3aed;
}

.badge-enterprise {
  background: rgba(209, 250, 229, 0.9);
  color: #059669;
}

.badge-social {
  background: rgba(254, 205, 211, 0.9);
  color: #e11d48;
}

.workflow-nodes {
  font-size: 11px;
  color: #9ca3af;
}

.workflow-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #111827;
}

.workflow-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  line-height: 1.6;
}

.workflow-features {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #4b5563;
}

.workflow-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-card.hidden {
  display: none;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
}

.workflow-steps {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fee2e2;
  color: #fb7185;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-content h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13px;
  color: #6b7280;
}

.workflow-board {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(135deg, #eff6ff, #fef9c3);
  overflow: hidden;
  min-height: 190px;
}

.node {
  position: absolute;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.4);
}

.node-input {
  top: 20px;
  left: 20px;
}

.node-script {
  top: 70px;
  left: 40px;
}

.node-storyboard {
  top: 30px;
  left: 140px;
}

.node-art {
  top: 90px;
  left: 170px;
}

.node-voice {
  top: 140px;
  left: 120px;
}

.node-export {
  top: 130px;
  right: 22px;
}

.workflow-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.workflow-lines path {
  stroke: rgba(148, 163, 184, 0.7);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 4;
}

/* 工具 */
.section-tools {
  background: radial-gradient(circle at center, #fef3c7 0, #ffffff 55%);
}

.tools-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.tool-card {
  padding: 14px 14px 14px;
}

.tool-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.tool-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.tool-meta {
  list-style: none;
  font-size: 12px;
  color: #6b7280;
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

/* 社区 */
.section-community {
  background: #ffffff;
}

.community-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
}

.community-list {
  display: grid;
  gap: 10px;
}

.community-item {
  border-radius: 16px;
  background: #f9fafb;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}

.community-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
  transform: translateX(4px);
}

.community-item h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #111827;
}

.community-item p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.community-meta {
  font-size: 11px;
  color: #9ca3af;
}

/* 话题详情页样式 */
.detail-header {
  margin-top: 20px;
}

.detail-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #111827;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.split-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #d1d5db;
}

.detail-content {
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
}

.detail-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 20px 0 10px;
}

.detail-content ul {
  padding-left: 20px;
  margin: 10px 0;
}

.detail-content li {
  margin-bottom: 6px;
  color: #4b5563;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef2f2, #ffffff);
  border: 1px solid rgba(251, 113, 133, 0.1);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #fb7185;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #6b7280;
}

.detail-tags h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 课程详情页样式 */
.course-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.info-item {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef2f2, #ffffff);
  border: 1px solid rgba(251, 113, 133, 0.1);
}

.info-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
  display: block;
}

.info-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.course-resources h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.resource-download-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.resource-download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 13px;
}

.btn-small {
  padding: 4px 10px;
  font-size: 11px;
}

.video-player-placeholder {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  position: relative;
  margin-top: 20px;
}

.video-thumbnail {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #111827;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: #ffffff;
}

.video-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 12px;
}

.video-info {
  padding: 20px;
  background: #ffffff;
}

.video-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111827;
}

.video-info p {
  font-size: 14px;
  color: #6b7280;
}

/* 文章详情页样式 */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.article-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(148, 163, 184, 0.1);
}

.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}

.article-body .lead {
  font-size: 18px;
  line-height: 1.7;
  color: #111827;
  font-weight: 500;
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #fef2f2, #ffffff);
  border-left: 4px solid #fb7185;
  border-radius: 8px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fee2e2;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: #111827;
  font-weight: 600;
}

.article-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
}

.article-sidebar {
  display: grid;
  gap: 16px;
}

.article-info-list {
  display: grid;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
  border-bottom: none;
}

.related-articles {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.related-articles li {
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  transition: all 0.2s ease;
}

.related-articles li:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
}

.related-articles a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  margin-bottom: 4px;
}

.related-articles a:hover {
  color: #fb7185;
}

.related-meta {
  font-size: 11px;
  color: #6b7280;
}

/* 响应式：文章详情页 */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    order: -1;
  }
}

/* 详情弹框样式 */
.detail-modal {
  max-width: 750px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.detail-modal-content {
  padding: 0;
}

.detail-modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.detail-modal-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  min-height: 400px;
}

.detail-modal-left {
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid #e5e7eb;
}

.detail-modal-right {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.detail-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.detail-modal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
}

.detail-modal-badge.badge-beginner,
.detail-modal-badge:contains("新手入门") {
  background: rgba(254, 243, 199, 0.9);
  color: #d97706;
}

.detail-modal-badge.badge-brand,
.detail-modal-badge:contains("品牌宣传") {
  background: rgba(254, 226, 226, 0.9);
  color: #db2777;
}

.detail-modal-badge.badge-education,
.detail-modal-badge:contains("知识讲解") {
  background: rgba(219, 234, 254, 0.9);
  color: #2563eb;
}

.detail-modal-badge.badge-comic,
.detail-modal-badge:contains("四格漫画") {
  background: rgba(237, 233, 254, 0.9);
  color: #7c3aed;
}

.detail-modal-badge.badge-enterprise,
.detail-modal-badge:contains("企业应用") {
  background: rgba(209, 250, 229, 0.9);
  color: #059669;
}

.detail-modal-badge.badge-social,
.detail-modal-badge:contains("社交媒体") {
  background: rgba(254, 205, 211, 0.9);
  color: #e11d48;
}

.detail-modal-meta {
  font-size: 13px;
  color: #6b7280;
}

.detail-modal-body {
  margin-bottom: 24px;
}

.detail-modal-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.detail-modal-features {
  margin-top: 16px;
}

.detail-modal-features h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.detail-modal-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.detail-modal-features li {
  font-size: 13px;
  color: #4b5563;
  padding-left: 20px;
  position: relative;
}

.detail-modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 600;
}

.detail-modal-footer {
  width: 100%;
  max-width: 320px;
}

/* 响应式：弹框左右布局 */
@media (max-width: 768px) {
  .detail-modal-layout {
    grid-template-columns: 1fr;
  }
  .detail-modal-left {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px;
  }
  .detail-modal-right {
    border-radius: 0 0 24px 24px;
    padding: 24px;
  }
}

/* 会员提示样式 */
.member-prompt {
  text-align: center;
  padding: 20px 0;
}

.member-prompt-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fecdd3, #fef3c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.member-prompt h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.member-prompt p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}

.member-benefits {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  text-align: left;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.member-benefits .benefit-item {
  font-size: 13px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 20px 0;
}

.member-price .price-number {
  font-size: 32px;
  font-weight: 700;
  color: #fb7185;
  line-height: 1;
}

.member-price .price-unit {
  font-size: 14px;
  color: #6b7280;
}

.community-side {
  display: grid;
  gap: 10px;
}

.community-card {
  border-radius: 16px;
  background: #fef2f2;
  padding: 12px 12px 12px;
}

.community-card.mini {
  background: #ecfeff;
}

.community-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.community-card .quote {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.mini-list {
  list-style: disc;
  padding-left: 16px;
  font-size: 12px;
  color: #4b5563;
  display: grid;
  gap: 4px;
}

/* 子页面通用 */
.page-hero {
  padding: 48px 0 36px;
}

.page-hero h1 {
  font-size: 30px;
  margin-bottom: 8px;
  color: #111827;
}

.page-hero p {
  max-width: 520px;
  line-height: 1.6;
  color: #4b5563;
}

.hero-resources {
  background: radial-gradient(circle at top left, #fdf2ff 0, #ffffff 70%);
}

.hero-cases {
  background: radial-gradient(circle at top right, #ecfeff 0, #ffffff 70%);
}

.hero-agents {
  background: radial-gradient(circle at top, #eef2ff 0, #ffffff 75%);
}

.hero-workflow {
  background: radial-gradient(circle at center, #fef9c3 0, #ffffff 80%);
}

.hero-tools {
  background: radial-gradient(circle at top left, #fff7ed 0, #ffffff 70%);
}

.hero-community {
  background: radial-gradient(circle at top right, #fef2f2 0, #ffffff 75%);
}

.crumb {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.crumb a {
  color: inherit;
}

.crumb span {
  margin: 0 4px;
}

.stat-cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.stat-card {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.18);
}

.stat-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.stat-card span {
  font-size: 24px;
  font-weight: 700;
  color: #fb7185;
}

.stat-card small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.filter-panel {
  margin: 20px 0;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f9fafb;
  font-size: 12px;
  color: #4b5563;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.filter-pill:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: #fee2e2;
  color: #db2777;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.2);
}

.filter-select {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  background: #fff;
}

.resource-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.resource-row {
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.12);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.resource-row:hover {
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.18);
  transform: translateX(4px);
}

.resource-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resource-info h3 {
  font-size: 15px;
}

.resource-info span {
  font-size: 12px;
  color: #6b7280;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-cloud .chip {
  background: #f9fafb;
  color: #4b5563;
  border-color: transparent;
}

.tag-cloud .chip.highlight {
  background: #ecfeff;
  color: #0ea5e9;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.panel {
  border-radius: 20px;
  background: #ffffff;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.16);
}

.panel h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.download-list {
  display: grid;
  gap: 8px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.download-item:last-child {
  border-bottom: none;
}

.timeline {
  position: relative;
  padding-left: 16px;
  display: grid;
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 0;
  width: 2px;
  background: #fee2e2;
}

.timeline-item {
  position: relative;
  padding-left: 14px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fb7185;
}

.badge-soft {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #eef2ff;
  color: #6366f1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-list {
  display: grid;
  gap: 10px;
}

.pipeline-step {
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e5e7eb;
}

.table th {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* 创作者榜单样式 */
.ranking-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.1);
  transition: all 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(148, 163, 184, 0.15);
}

.ranking-item.ranking-gold {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.4), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.ranking-item.ranking-silver {
  background: linear-gradient(135deg, rgba(229, 231, 235, 0.4), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.ranking-item.ranking-bronze {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.4), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(219, 39, 119, 0.2);
}

.ranking-medal {
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ranking-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ranking-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.2);
}

.avatar-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.avatar-2 {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.avatar-3 {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.avatar-4 {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.avatar-5 {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.ranking-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ranking-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.ranking-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  flex-wrap: wrap;
}

.ranking-stats strong {
  color: #fb7185;
  font-weight: 600;
}

.ranking-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.8);
  color: #db2777;
  font-size: 11px;
  font-weight: 500;
}

.cta-banner {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fecdd3, #fef3c7);
  color: #7c2d12;
  box-shadow: 0 20px 40px rgba(248, 113, 113, 0.25);
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: #f9fafb;
  padding: 12px;
}

.faq-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

/* 用户中心 */
/* 用户中心页面使用更宽的容器 */
body[data-page="user-center"] .container.uc-layout {
  max-width: 1400px;
  padding: 0 40px;
}

.uc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 24px 0;
}

.uc-sidebar {
  display: grid;
  align-content: flex-start;
  gap: 16px;
  min-width: 240px;
}

.uc-profile-card {
  border-radius: 20px;
  padding: 20px 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
}

.uc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fecdd3, #bfdbfe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.uc-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.uc-meta {
  font-size: 13px;
  color: #6b7280;
}

.uc-nav {
  border-radius: 20px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 6px;
}

.uc-nav-item {
  text-align: left;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #4b5563;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  width: 100%;
}

.uc-nav-item:hover {
  background: #f9fafb;
  color: #111827;
}

.uc-nav-item.active {
  background: linear-gradient(135deg, #fee2e2, #fce7f3);
  color: #db2777;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
}

.uc-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.uc-header {
  margin-bottom: 8px;
}

.uc-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.uc-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.uc-section {
  display: block;
  animation: fadeIn 0.3s ease;
}

.uc-section.hidden {
  display: none;
}

/* 用户中心页面 section 增加更多间距 */
body[data-page="user-center"] .section {
  padding: 40px 0;
}

/* 用户中心卡片和面板样式优化 */
body[data-page="user-center"] .panel {
  padding: 24px;
  border-radius: 16px;
}

body[data-page="user-center"] .stat-card {
  padding: 24px;
  border-radius: 16px;
}

body[data-page="user-center"] .grid-3 {
  gap: 20px;
}

body[data-page="user-center"] .two-column {
  gap: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 悬浮会员广告 */
.floating-ad {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 200px;
  background: linear-gradient(135deg, #ffffff, #fef2f2);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(248, 113, 113, 0.3);
  padding: 16px;
  z-index: 50;
  animation: slideInUp 0.5s ease;
  border: 2px solid rgba(251, 113, 133, 0.2);
}

.floating-ad.hidden {
  display: none;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.floating-ad-close:hover {
  background: #fee2e2;
  color: #db2777;
  transform: rotate(90deg);
}

.floating-ad-content {
  display: grid;
  gap: 12px;
}

.floating-ad-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(251, 113, 133, 0.1);
}

.floating-ad-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fecdd3, #fef3c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.floating-ad-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.floating-ad-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-number {
  font-size: 24px;
  font-weight: 700;
  color: #fb7185;
  line-height: 1;
}

.price-unit {
  font-size: 12px;
  color: #6b7280;
}

.floating-ad-benefits {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: #4b5563;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.floating-ad-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(251, 113, 133, 0.1);
}

.qr-code-placeholder {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border: 2px solid #fee2e2;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.qr-pattern {
  width: 100px;
  height: 100px;
  background-image: 
    repeating-linear-gradient(0deg, #111827 0px, #111827 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(90deg, #111827 0px, #111827 4px, transparent 4px, transparent 8px);
  background-size: 20px 20px;
  opacity: 0.3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.qr-text {
  font-size: 11px;
  color: #9ca3af;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
}

.qr-tip {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  font-weight: 500;
}

/* 左侧固定广告位 */
.left-sidebar-ads {
  position: fixed;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
  animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar-ad-item {
  width: 160px;
  background: linear-gradient(135deg, #ffffff, #fef2f2);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(251, 113, 133, 0.15);
  cursor: pointer;
}

.sidebar-ad-item:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(148, 163, 184, 0.3);
}

.sidebar-ad-image {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ad-image-1 {
  background: linear-gradient(135deg, #fecdd3 0%, #fef3c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.ad-image-1::after {
  content: "🎁";
  position: absolute;
  font-size: 40px;
}

.ad-image-2 {
  background: linear-gradient(135deg, #bfdbfe 0%, #e9d5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.ad-image-2::after {
  content: "📚";
  position: absolute;
  font-size: 40px;
}

.sidebar-ad-content {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-ad-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.sidebar-ad-desc {
  font-size: 11px;
  color: #6b7280;
}

/* 响应式：小屏幕隐藏悬浮广告和左侧广告 */
@media (max-width: 1024px) {
  .floating-ad {
    display: none;
  }
  .left-sidebar-ads {
    display: none;
  }
}

/* 页脚 */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  padding: 60px 0 40px;
}

.footer-inner {
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  max-width: 320px;
}

.footer-brand .logo-icon {
  margin-top: 4px;
}

.footer-title {
  font-weight: 800;
  font-size: 18px;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.footer-subtitle {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.footer-column a:hover {
  color: #fb7185;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  padding: 24px 0;
  margin-top: 40px;
  background: transparent;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 弹窗 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-backdrop.active {
  display: flex;
}

/* 首页欢迎弹框 */
.welcome-modal-backdrop {
  z-index: 200;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
}

.welcome-modal {
  position: relative;
  max-width: 900px;
  width: 90%;
  background: transparent;
  border-radius: 32px;
  overflow: visible;
  animation: welcomeFadeIn 0.5s ease;
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.welcome-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(251, 113, 133, 0.2);
  color: #6b7280;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-modal-close:hover {
  background: #fee2e2;
  color: #db2777;
  transform: rotate(90deg) scale(1.1);
}

.welcome-modal-content {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-image-item {
  position: relative;
  width: 300px;
  max-width: 80%;
  height: auto;
  border-radius: 24px;
  overflow: visible;
  filter: drop-shadow(0 20px 60px rgba(251, 113, 133, 0.3));
  transition: all 0.3s ease;
}

.welcome-image-item:hover {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 30px 80px rgba(251, 113, 133, 0.4));
}

.welcome-character-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  animation: gentleSway 3s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes gentleSway {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(-1deg);
  }
  50% {
    transform: translateY(-4px) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* 响应式 */
@media (max-width: 768px) {
  .welcome-modal {
    max-width: 95%;
  }
  
  .welcome-modal-content {
    padding: 30px 20px;
  }
  
  .welcome-images {
    gap: 16px;
  }
  
  .welcome-image-item {
    width: 250px;
    max-width: 90%;
  }
}

.modal {
  background: radial-gradient(circle at top, #fdf2ff 0, #ffffff 55%);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
  width: 700px;
  max-width: 92vw;
  padding: 18px 20px 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 16px;
}

.auth-tabs {
  display: inline-flex;
  border-radius: 999px;
  background: #f3f4f6;
  padding: 3px;
  margin-bottom: 10px;
  width: 150px;
}

.auth-header {
  margin-bottom: 10px;
}

.auth-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.auth-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
  margin-bottom: 8px;
}

.auth-tab {
  flex: 1;
  border-radius: 999px;
  padding: 6px 0;
  font-size: 13px;
  color: #6b7280;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.auth-tab:hover {
  color: #111827;
}

.auth-tab.active {
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.4);
}

.auth-form {
  display: grid;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.auth-form.hidden {
  display: none;
}

.form-group {
  display: grid;
  gap: 4px;
}

.form-group label {
  font-size: 12px;
  color: #4b5563;
}

.form-group input {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #fb7185;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.15);
}

.form-meta {
  margin: 2px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  position: relative;
  font-size: 12px;
  color: #4b5563;
  transition: color 0.2s ease;
}

.checkbox:hover {
  color: #111827;
}

.checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 使用伪元素创建对勾 */
.checkbox input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox:hover input[type="checkbox"] {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

.checkbox input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  border-color: #fb7185;
  box-shadow: 0 2px 8px rgba(251, 113, 133, 0.3);
}

.checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
  animation: checkmarkIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkmarkIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
}

.checkbox input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.2);
}

.checkbox input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.checkbox input[type="checkbox"]:disabled:checked {
  background: #d1d5db;
  border-color: #d1d5db;
}

.link-muted {
  color: #9ca3af;
}

.link-muted:hover {
  color: #4b5563;
}

/* 帮助类 */
.hidden {
  display: none !important;
}

/* 响应式：以 PC 为主，适当兼容 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .feature-grid,
  .resource-grid,
  .case-grid,
  .agent-grid,
  .tools-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-layout,
  .workflow-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }
  .main-nav {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .resource-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 提示弹框样式 */
.toast-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: toastFadeIn 0.3s ease;
}

.toast-backdrop.active {
  display: flex;
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  pointer-events: none;
}

.toast-box {
  min-width: 360px;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.toast-box.hiding {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
  to {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

.toast-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.toast-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  position: relative;
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.toast-icon.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.toast-icon.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.toast-icon.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.toast-icon.info {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.4;
}

.toast-message {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  word-wrap: break-word;
}

.toast-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.toast-close:hover {
  background: #e5e7eb;
  color: #111827;
  transform: rotate(90deg);
}

.toast-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
}

.toast-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.toast-btn-primary {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.3);
}

.toast-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(251, 113, 133, 0.4);
}

.toast-btn-primary:active {
  transform: translateY(0);
}

.toast-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.toast-btn-secondary:hover {
  background: #e5e7eb;
}

/* 响应式 */
@media (max-width: 480px) {
  .toast-box {
    min-width: 320px;
    max-width: calc(100vw - 40px);
  }
  
  .toast-header {
    padding: 20px 20px 12px;
  }
  
  .toast-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .toast-title {
    font-size: 16px;
  }
  
  .toast-message {
    font-size: 13px;
  }
  
  .toast-footer {
    padding: 12px 20px 20px;
  }
}


