.addon-detail-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 60%, #1e3a5f 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.addon-detail-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.addon-hero-breadcrumb {
  margin-bottom: 28px;
}
.addon-hero-breadcrumb a,
.addon-hero-breadcrumb span {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
}
.addon-hero-breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}
.addon-hero-breadcrumb .sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.3);
}
.addon-hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}
.addon-hero-image {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  background: rgba(255,255,255,.1);
  position: relative;
}
.addon-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
}
.addon-hero-placeholder i {
  font-size: 3.5rem;
  color: rgba(255,255,255,.4);
}
.addon-hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.addon-hero-info {
  flex: 1;
}
.addon-hero-info .addon-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.15);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(59,130,246,.25);
}
.addon-hero-info h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.addon-hero-info > p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 20px;
}
.addon-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(255,255,255,.1);
  padding: 8px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
}
.addon-hero-price .price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.addon-hero-price .price-currency,
.addon-hero-price .price-period {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
}
.addon-hero-price .price-free {
  font-size: 1.3rem;
  font-weight: 700;
  color: #34d399;
}
.addon-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.addon-detail-section {
  margin-bottom: 48px;
}
.addon-detail-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
}
.addon-detail-section-header i {
  font-size: 1.2rem;
  color: var(--primary-color, #3b82f6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border-radius: 12px;
  flex-shrink: 0;
}
.addon-detail-section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}
.addon-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.addon-feature-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  transition: all .3s;
}
.addon-feature-item:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border-color: #e2e8f0;
}
.addon-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59,130,246,.1);
  color: var(--primary-color, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.addon-feature-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}
.addon-feature-content p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.plan-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  border: 2px solid #e5e7eb;
  position: relative;
  transition: all .3s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.plan-popular {
  border-color: var(--primary-color, #3b82f6);
  box-shadow: 0 8px 30px rgba(59,130,246,.15);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color, #3b82f6);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.plan-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.plan-desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 16px;
}
.plan-price {
  margin-bottom: 20px;
}
.plan-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
}
.plan-currency {
  font-size: 0.9rem;
  color: #6b7280;
  margin-right: 4px;
}
.plan-free-label {
  font-size: 1.5rem;
  font-weight: 800;
  color: #10b981;
}
.plan-features {
  text-align: right;
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #374151;
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li i {
  color: #10b981;
  flex-shrink: 0;
}
.changelog-item {
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
}
.changelog-item:last-child {
  border-bottom: none;
}
.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.changelog-version {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.95rem;
}
.changelog-type {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.changelog-date {
  font-size: 0.82rem;
  color: #9ca3af;
}
.changelog-changes {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}
.addon-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f3f4f6;
}
.sidebar-pricing-card {
  border-color: var(--primary-color, #3b82f6);
  border-width: 2px;
}
.sidebar-price-main {
  text-align: center;
  margin-bottom: 16px;
}
.sidebar-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
}
.sidebar-price-currency {
  font-size: 1rem;
  color: #6b7280;
  margin-right: 4px;
}
.sidebar-price-period {
  font-size: 0.9rem;
  color: #9ca3af;
}
.sidebar-price-free {
  font-size: 2rem;
  font-weight: 800;
  color: #10b981;
}
.sidebar-price-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #4b5563;
}
.sidebar-save {
  background: #ecfdf5;
  color: #059669;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.sidebar-trial {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #eff6ff;
  border-radius: 12px;
  margin: 16px 0;
  border: 1px solid #dbeafe;
}
.sidebar-trial > i {
  font-size: 1.2rem;
  color: var(--primary-color, #3b82f6);
  margin-top: 2px;
}
.sidebar-trial strong {
  display: block;
  font-size: 0.9rem;
  color: #1e40af;
  margin-bottom: 2px;
}
.sidebar-trial p {
  font-size: 0.82rem;
  color: #3b82f6;
  margin: 0;
}
.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: var(--primary-color, #3b82f6);
  color: #fff;
  transition: all .3s;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(59,130,246,.3);
}
.sidebar-cta-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,.4);
  color: #fff;
}
.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}
.sidebar-info-item:last-child {
  border-bottom: none;
}
.sidebar-info-label {
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-info-label i {
  width: 18px;
  text-align: center;
  color: #9ca3af;
}
.sidebar-info-value {
  font-weight: 600;
  color: #1f2937;
}
.sidebar-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-rating .stars {
  color: #f59e0b;
  font-size: 0.82rem;
}
.sidebar-rating .stars i {
  width: auto;
}
.addon-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.addon-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color, #3b82f6);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.addon-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.addon-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.addon-card-placeholder i {
  font-size: 3rem;
  color: #94a3b8;
}
.addon-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.addon-card:hover .addon-card-image img {
  transform: scale(1.05);
}
.addon-card-image-link {
  text-decoration: none;
}
.addon-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.addon-card-free {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}
.addon-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.addon-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.addon-card-body h3 a {
  color: #1f2937;
  text-decoration: none;
  transition: color .3s;
}
.addon-card-body h3 a:hover {
  color: var(--primary-color, #3b82f6);
}
.addon-card-body > p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.addon-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}
.addon-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color, #3b82f6);
}
.addon-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
  margin-right: 2px;
}
.related-addons-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px) {
  .addon-detail-layout {
    grid-template-columns: 1fr;
  }
  .addon-sidebar {
    position: static;
  }
  .addon-features-grid {
    grid-template-columns: 1fr;
  }
  .related-addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .addon-hero-content {
    flex-direction: column;
    text-align: center;
  }
  .addon-hero-image {
    width: 120px;
    height: 120px;
  }
  .addon-hero-info > p {
    margin: 0 auto 20px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .related-addons-grid {
    grid-template-columns: 1fr;
  }
  .addon-detail-hero {
    padding: 80px 0 40px;
  }
}
