/* 极点 · 产品中心 / 文档 / 授权中心 精致设计 */

/* 官网整体容器 */
.of-main {
  max-width: 1200px !important;
  padding: 32px 24px 80px !important;
}

/* 页面头部 */
.of-head, .of-hero-copy {
  margin-bottom: 32px !important;
}

.of-eyebrow {
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  color: #3b82f6 !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.of-head h1, .of-hero h1 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 8px 0 12px !important;
}

.of-head p, .of-hero p {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.7 !important;
  max-width: 640px !important;
}

/* 产品列表网格 */
.of-products, .of-product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  margin: 24px 0 !important;
}

.of-product-card, .of-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  display: flex !important;
  flex-direction: column !important;
}

.of-product-card:hover, .of-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
  border-color: #cbd5e1 !important;
}

.of-product-card h3, .of-card h3 {
  font-size: 18px !important;
  font-weight: 650 !important;
  color: #0f172a !important;
  margin: 0 0 8px !important;
}

.of-product-card p, .of-card p {
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  flex: 1 !important;
  margin-bottom: 16px !important;
}

.of-product-meta, .of-card .meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
}

.of-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #f97316 !important;
}

/* 文档页面 */
.of-docs-grid {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 32px !important;
  margin-top: 24px !important;
}

.of-docs-grid aside {
  position: sticky !important;
  top: 100px !important;
  align-self: start !important;
}

.of-docs-grid aside button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 16px !important;
  margin-bottom: 6px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 14px !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
}

.of-docs-grid aside button:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.of-docs-grid aside button.active {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important;
  font-weight: 600 !important;
}

.of-docs-grid article {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.of-docs-grid article small {
  color: #3b82f6 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.of-docs-grid article h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  margin: 8px 0 20px !important;
  color: #0f172a !important;
}

.of-docs-grid article p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  margin-bottom: 16px !important;
}

/* 授权中心 */
.of-licensing, .of-license-section {
  margin: 24px 0 !important;
}

.of-license-card, .of-entitlement-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 32px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2) !important;
}

.of-license-card h2, .of-license-card h3,
.of-entitlement-card h2, .of-entitlement-card h3 {
  color: #fff !important;
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.of-license-card p, .of-license-card li,
.of-entitlement-card p, .of-entitlement-card li {
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.7 !important;
}

.of-license-card .btn, .of-entitlement-card .btn {
  background: #fff !important;
  color: #1e293b !important;
  border: none !important;
  margin-top: 16px !important;
}

/* 版本对比表格 */
.of-editions, .ed-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  margin: 24px 0 !important;
}

.of-edition-card, .ed-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}

.of-edition-card:hover, .ed-card:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12) !important;
}

.of-edition-card h3, .ed-card h3 {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}

.of-edition-card .price, .ed-card .price {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #f97316 !important;
  margin: 12px 0 !important;
}

.of-edition-card ul, .ed-card ul {
  text-align: left !important;
  margin: 16px 0 !important;
  padding-left: 20px !important;
}

.of-edition-card li, .ed-card li {
  margin-bottom: 8px !important;
  color: #475569 !important;
  font-size: 14px !important;
}

/* 客户中心 */
.of-customer-layout {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 24px !important;
  margin-top: 24px !important;
}

.of-customer-layout aside {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  position: sticky !important;
  top: 100px !important;
  height: fit-content !important;
}

.of-customer-layout aside button {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  padding: 10px 14px !important;
  margin-bottom: 4px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 14px !important;
}

.of-customer-layout aside button.active {
  background: #eff6ff !important;
  color: #2563eb !important;
  font-weight: 600 !important;
}

.of-lead-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  margin-bottom: 12px !important;
}

.of-lead-card strong {
  font-size: 15px !important;
  color: #0f172a !important;
}

.of-lead-card span {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  margin-left: 8px !important;
}

/* 空状态 */
.of-empty {
  text-align: center !important;
  padding: 48px 24px !important;
  background: #f8fafc !important;
  border: 1px dashed #e2e8f0 !important;
  border-radius: 16px !important;
  color: #64748b !important;
}

.of-empty h2 {
  font-size: 20px !important;
  color: #334155 !important;
  margin: 12px 0 8px !important;
}

/* 移动端 */
@media (max-width: 768px) {
  .of-main { padding: 20px 16px 60px !important; }
  .of-products, .of-product-grid,
  .of-editions, .ed-grid { grid-template-columns: 1fr !important; }
  .of-docs-grid, .of-customer-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
  .of-docs-grid aside, .of-customer-layout aside { position: static !important; }
  .of-head h1, .of-hero h1 { font-size: 26px !important; }
  .of-license-card, .of-entitlement-card { padding: 24px !important; }
}

/* 深色模式 */
.dark .of-product-card, .dark .of-card,
.dark .of-docs-grid article, .dark .of-edition-card,
.dark .of-customer-layout aside, .dark .of-lead-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
.dark .of-head h1, .dark .of-hero h1,
.dark .of-product-card h3, .dark .of-docs-grid article h2 {
  color: #f1f5f9 !important;
}
.dark .of-docs-grid aside button.active,
.dark .of-customer-layout aside button.active {
  background: #1e3a5f !important;
  color: #60a5fa !important;
}
