/* Detail Page Styles */

.breadcrumb {
  background: var(--bg-light);
  padding: 15px 0;
  margin-top: 70px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span {
  color: var(--text-color);
}

.detail-section {
  padding: 60px 0;
}

.detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.detail-loading {
  text-align: center;
  padding: 60px;
  color: var(--text-light);
}


/* Download Page - App Section */
.app-download-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0 20px;
}

.app-download-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.app-platform h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--text-color);
}

.app-platform p {
  color: var(--text-light);
  margin: 0;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}

.platform-badge.android {
  background: #16a34a;
}

.platform-badge.ios {
  background: #0f172a;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.app-download-tip {
  color: var(--text-light);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .app-download-section {
    grid-template-columns: 1fr;
  }

  .app-download-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Product Detail */
.product-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.product-detail-image {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border-radius: 16px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image svg {
  width: 200px;
  height: 200px;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.product-detail-info .description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.product-features-list {
  list-style: none;
  margin-bottom: 30px;
}

.product-features-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-features-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.product-detail-body {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 40px;
}

.product-detail-body h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.product-detail-body p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.spec-item {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 12px;
}

.spec-item h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.spec-item p {
  margin: 0;
  color: var(--text-color);
}

/* News Detail */
.news-detail-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.news-detail-header h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.4;
}

.news-meta {
  display: flex;
  gap: 30px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-meta svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
}

.news-detail-body {
  line-height: 2;
  color: var(--text-color);
}

.news-detail-body p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.news-detail-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: var(--text-color);
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.news-detail-body li {
  margin-bottom: 10px;
}

.news-detail-body blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 20px 30px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-light);
}

/* Related Section */
.related-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.related-section .section-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.related-card-image {
  height: 150px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-image svg {
  width: 60px;
  height: 60px;
}

.related-card-content {
  padding: 20px;
}

.related-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-color);
}

.related-card-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-content .date {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* Back Button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 30px;
  transition: var(--transition);
}

.back-link:hover {
  gap: 12px;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

/* Contact CTA */
.contact-cta {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  text-align: center;
  color: white;
}

.contact-cta h3 {
  margin-bottom: 10px;
}

.contact-cta p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.contact-cta .btn {
  background: white;
  color: var(--primary-color);
}

.contact-cta .btn:hover {
  background: var(--bg-light);
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-header {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-specs {
    grid-template-columns: 1fr;
  }
}

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

  .product-detail-info h1,
  .news-detail-header h1 {
    font-size: 1.8rem;
  }

  .news-meta {
    flex-direction: column;
    gap: 10px;
  }
}
