/* A11y 前台默认主题 */

/* 顶部导航 */
.navbar {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
}

.navbar-menu a:not(.btn) {
  margin-left: 1.5rem;
  color: #555;
}

.navbar-menu a:not(.btn):hover {
  color: #0d6efd;
}

.navbar-menu .btn {
  margin-left: 1.5rem;
}

/* 个人设置 */
.profile-section {
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
}

.profile-section:first-of-type {
  padding-top: 0;
}

.profile-section:last-child {
  border-bottom: none;
}

.profile-section h3 {
  margin-top: 0;
  margin-bottom: 0.875rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
}

.profile-section p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 帮助中心 */
.help-categories {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.help-categories .tag {
  margin: 0.25rem;
}

.help-categories .tag.active {
  background: #0d6efd;
  color: #fff;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.article-item:last-child {
  border-bottom: none;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-summary {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.article-meta {
  font-size: 0.875rem;
}

.article-meta span {
  margin-right: 1rem;
}

.article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.article-header h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.article-body {
  line-height: 1.8;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

/* 营销页面 */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  color: #fff;
  padding: 5rem 0;
}

.hero-section .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: #fff;
  color: #0d6efd;
}

.hero-actions .btn-primary:hover {
  background: #f0f7ff;
}

.hero-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  flex-shrink: 0;
  width: 320px;
}

.widget-preview {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.widget-header {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.widget-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
}

.widget-body {
  padding: 1rem;
}

.widget-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #374151;
  font-size: 0.95rem;
}

.widget-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0d6efd;
  color: #fff;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.section {
  padding: 4rem 0;
}

.section-white {
  background: #fff;
}

.section-light {
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.75rem;
}

.section-header p {
  color: #6b7280;
  font-size: 1.1rem;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-grid.scenarios-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
}

.feature-card p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step-card p {
  color: #6b7280;
  margin: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.article-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  color: inherit;
}

.article-card:hover {
  border-color: #0d6efd;
  text-decoration: none;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
}

.article-card p {
  color: #6b7280;
  margin: 0;
  font-size: 0.95rem;
}

.cta-section {
  background: #1f2937;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.page-hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0;
}

.feature-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
}

.feature-detail-icon {
  width: 56px;
  height: 56px;
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-detail-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
}

.feature-detail-content p {
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

/* 示例中心 */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.example-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.example-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

.example-number {
  width: 40px;
  height: 40px;
  background: #e7f1ff;
  color: #0d6efd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.example-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
}

.example-card p {
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.example-link {
  color: #0d6efd;
  font-size: 0.95rem;
  font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .feature-grid,
  .step-grid,
  .pricing-grid,
  .feature-grid.scenarios-grid {
    grid-template-columns: 1fr;
  }
}
