/* ============================================
   场景案例详情页样式 - Solution Detail Case
   ============================================ */

/* 面包屑导航 - 紧凑样式 */
.breadcrumb-wrap {
  padding: 0.75rem 0;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.breadcrumb {
  margin: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: hsl(var(--accent));
}

.breadcrumb-link svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
}

.breadcrumb-separator svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-current {
  color: hsl(var(--accent));
  font-weight: 600;
}

/* Hero Section */
.solution-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.solution-hero-bg {
  position: absolute;
  inset: 0;
}

.solution-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6));
}

.solution-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
}

.solution-hero-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.solution-hero-back:hover {
  background-color: rgba(255,255,255,0.2);
}

.solution-hero-back svg {
  width: 24px;
  height: 24px;
  color: white;
  transition: transform 0.2s ease;
}

.solution-hero-back:hover svg {
  transform: translateX(-2px);
}

.solution-hero-text {
  max-width: 42rem;
}

.solution-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.solution-hero-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 36rem;
}

@media (max-width: 768px) {
  .solution-hero {
    height: 400px;
  }
  
  .solution-hero-content {
    padding: 1.5rem;
  }
  
  .solution-hero-title {
    font-size: 2rem;
  }
  
  .solution-hero-desc {
    font-size: 1rem;
  }
}

/* Section Header */
.section-header {
  margin-bottom: 4rem;
}

.section-header-bar {
  width: 48px;
  height: 4px;
  background-color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.section-header-bar.bg-accent {
  background-color: hsl(var(--accent));
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #222222;
}

.section-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  line-height: 1.6;
}

/* 行业痛点网格 */
.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pain-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pain-point-main {
    grid-column: span 2;
  }
}

.pain-point-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.pain-point-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.pain-point-main {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .pain-point-main {
    flex-direction: row;
  }
}

.pain-point-visual {
  width: 100%;
  min-height: 200px;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

@media (min-width: 768px) {
  .pain-point-visual {
    width: 33.333%;
    min-height: auto;
  }
}

.pain-point-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.pain-point-card:hover .pain-point-icon-wrap {
  transform: scale(1.1);
}

.pain-point-icon-wrap svg {
  width: 40px;
  height: 40px;
  color: hsl(var(--primary));
}

.pain-point-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pain-point-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .pain-point-content {
    padding: 3rem;
  }
}

.pain-point-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.4;
}

.pain-point-desc {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* 小卡片样式 */
.pain-point-card:not(.pain-point-main) {
  padding: 1.5rem;
}

.pain-point-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.pain-point-icon-small {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.pain-point-card:hover .pain-point-icon-small {
  background-color: hsl(var(--primary) / 0.1);
}

.pain-point-icon-small svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
}

.pain-point-subtitle {
  font-weight: 700;
  color: #ffffff;
}

.pain-point-text {
  font-size: 0.875rem;
  color: #ffffff;
}

/* 背景色区块 */
.bg-secondary {
  background-color: rgba(213, 213, 213, 0.2);
}

/* 技术优势网格 */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 20px rgba(var(--primary), 0.1);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.3), hsl(var(--accent) / 0.3));
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
  transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon svg {
  transform: scale(1.1);
}

.advantage-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.advantage-card:hover .advantage-title {
  color: hsl(var(--primary));
}

.advantage-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  flex: 1;
}

.advantage-line {
  width: 32px;
  height: 2px;
  background-color: hsl(var(--border));
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-line {
  width: 100%;
  background-color: hsl(var(--primary));
}

/* 应用场景展示 */
.showcase-section {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid hsl(var(--border));
}

.showcase-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.showcase-item {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: all 0.3s ease;
}

.showcase-item:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.showcase-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

/* 产品网格 */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: hsl(var(--card) / 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: hsl(var(--muted) / 0.2);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-view {
  background-color: white;
  color: black;
  font-weight: 700;
  padding: 0.625rem 2rem;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.btn-view:hover {
  background-color: rgba(255,255,255,0.9);
}

.product-content {
  background : #ffffff;
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--accent));
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222222;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.product-card:hover .product-name {
  color: hsl(var(--primary));
}

.product-model {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-family: monospace;
}

.product-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #222222;
  background-color: #d8e9ff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.product-tag svg {
  width: 12px;
  height: 12px;
  color: hsl(var(--accent));
}

.product-footer {
  background : #ffffff;
  padding: 1.5rem;
  padding-top: 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
   
}

.product-meta-label {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.product-meta-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222222;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: hsl(var(--primary));
}

.btn-icon:hover svg {
  color: white;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

/* 下载区域 */
.download-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid hsl(var(--border));
}

.download-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .download-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.download-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.download-desc {
  color: hsl(var(--muted-foreground));
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary));
  color: white;
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-download:hover {
  background-color: hsl(var(--primary-hover));
}

.btn-download svg {
  width: 18px;
  height: 18px;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1), hsl(var(--primary) / 0.1));
}

.cta-card {
  background-color: #ffffff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 71rem;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cta-icon svg {
  width: 40px;
  height: 40px;
  color: hsl(var(--primary));
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222222;
}

.cta-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary));
  color: white;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.btn-cta-primary:hover {
  background-color: hsl(var(--primary-hover));
}

.btn-cta-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-cta-primary:hover svg {
  transform: translateX(4px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary));
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 2px solid hsl(var(--primary));
  transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.btn-cta-secondary svg {
  width: 18px;
  height: 18px;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-feature svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--accent));
}

@media (max-width: 768px) {
  .cta-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }
}
