/* ============================================
   定制服务页面专属样式
   ============================================ */

/* Hero区域 */
.custom-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--background)) 50%, hsl(var(--background)) 100%);
}

.custom-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.custom-hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.custom-hero-blur-1 {
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--primary));
}

.custom-hero-blur-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--accent));
}

.custom-hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
  text-align: center;
}

.custom-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  margin-bottom: 2rem;
}

.custom-hero-badge svg {
  color: hsl(var(--primary));
}

.custom-hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.custom-hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .custom-hero-title {
    font-size: 3.75rem;
  }
}

.custom-hero-title-highlight {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.custom-hero-desc {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.custom-hero-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  max-width: 48rem;
  margin: 0 auto;
}

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

.custom-hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.custom-hero-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.custom-hero-feature-icon-accent {
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.custom-hero-feature-title {
  font-weight: 600;
  color: #ffffff;
}

.custom-hero-feature-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.custom-hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

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

.custom-hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.3), transparent);
}

/* 按钮样式补充 */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  height: 40px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.05);
}

/* CTA区域按钮统一样式 - 透明边框按钮 */
.custom-cta-buttons .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #222222;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  height: 40px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.custom-cta-buttons .btn-outline-primary:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.05);
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.5);
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  height: 40px;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

/* 核心定制能力 */
.custom-features {
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-accent {
  width: 4rem;
  height: 0.25rem;
  background-color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #222222;
  font-size: 2.5rem;
  line-height: 1.2;
}

.section-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}

.custom-features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

.custom-feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  transition: all 0.3s ease;
}

.custom-feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.custom-feature-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
  border: 1px solid hsl(var(--primary) / 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

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

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

.custom-feature-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

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

.custom-feature-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.custom-feature-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.custom-feature-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.custom-feature-card-list li svg {
  color: hsl(var(--accent));
  margin-top: 0.125rem;
  flex-shrink: 0;
}

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

.custom-feature-card:hover .custom-feature-card-line {
  width: 3rem;
  background: hsl(var(--primary));
}

/* 定制能力矩阵 */
.custom-matrix {
  padding: 5rem 1.5rem;
  background: #ffffff;
}

.custom-matrix-header {
  text-align: center;
  margin-bottom: 4rem;
}

.custom-matrix-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

.custom-matrix-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
}

.custom-matrix-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

.custom-matrix-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.custom-matrix-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: #ffffff;
}

.custom-matrix-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.custom-matrix-card:hover .custom-matrix-card-icon {
  background: hsl(var(--primary) / 0.2);
}

.custom-matrix-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

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

.custom-matrix-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.custom-matrix-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #222222;
}

.custom-matrix-card-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--accent));
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.custom-matrix-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--primary) / 0.2);
  background: linear-gradient(90deg, hsl(var(--primary) / 0.05), hsl(var(--accent) / 0.05));
}

.custom-matrix-notice svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.custom-matrix-notice-content h4 {
  font-weight: 600;
  color: #222222;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-matrix-notice-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* 定制流程 */
.custom-process {
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.custom-process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.custom-process-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  margin-bottom: 1.5rem;
}

.custom-process-badge svg {
  color: hsl(var(--primary));
}

.custom-process-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.custom-process-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

.custom-process-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
}

.custom-process-timeline {
  position: relative;
  margin-bottom: 4rem;
}

.custom-process-line {
  display: none;
}

@media (min-width: 1024px) {
  .custom-process-line {
    display: block;
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary) / 0.5));
  }
}

.custom-process-steps {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

.custom-process-step {
  position: relative;
}

.custom-process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .custom-process-step-number {
    display: none;
  }
}

.custom-process-step-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  transition: all 0.3s ease;
}

.custom-process-step-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: #ffffff;
}

@media (min-width: 1024px) {
  .custom-process-step-card {
    padding-top: 2rem;
  }
  
  .custom-process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(var(--background));
    border: 4px solid hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: hsl(var(--primary));
    font-size: 1.125rem;
    z-index: 10;
  }
  
  .custom-process-step:nth-child(1)::before { content: "1"; }
  .custom-process-step:nth-child(2)::before { content: "2"; }
  .custom-process-step:nth-child(3)::before { content: "3"; }
  .custom-process-step:nth-child(4)::before { content: "4"; }
  .custom-process-step:nth-child(5)::before { content: "5"; }
  .custom-process-step:nth-child(6)::before { content: "6"; }
}

.custom-process-step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.custom-process-step-card:hover .custom-process-step-icon {
  background: hsl(var(--primary) / 0.2);
}

.custom-process-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.custom-process-step-card:hover .custom-process-step-title {
  color: hsl(var(--primary));
}

.custom-process-step-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.custom-process-step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid hsl(var(--border));
}

.custom-process-step-time svg {
  color: hsl(var(--accent));
}

.custom-process-step-time span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #222222;
}

.custom-process-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--accent) / 0.2);
  background: linear-gradient(90deg, hsl(var(--accent) / 0.05), hsl(var(--primary) / 0.05));
}

.custom-process-footer-content h4 {
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.custom-process-footer-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.custom-process-footer-content span {
  font-weight: 700;
  color: hsl(var(--primary));
}

.custom-process-footer-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.custom-process-footer-badge svg {
  color: hsl(var(--primary));
}

.custom-process-footer-badge span {
  font-weight: 600;
  color: hsl(var(--primary));
}

/* CTA区域 */
.custom-cta {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
  background: #ffffff;
}

.custom-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.custom-cta-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.custom-cta-blur-1 {
  top: 2.5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary));
}

.custom-cta-blur-2 {
  bottom: 2.5rem;
  left: 5rem;
  width: 20rem;
  height: 20rem;
  background: hsl(var(--accent));
}

.custom-cta-content {
  position: relative;
  z-index: 10;
}

.custom-cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #222222;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .custom-cta-title {
    font-size: 2.5rem;
  }
}

.custom-cta-desc {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

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

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

.custom-cta-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

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

.custom-cta-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: #ffffff;
  text-align: center;
  transition: all 0.3s ease;
}

.custom-cta-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: #ffffff;
}

.custom-cta-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.custom-cta-card:hover .custom-cta-card-icon {
  background: hsl(var(--primary) / 0.2);
}

.custom-cta-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

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

.custom-cta-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.custom-cta-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-cta-card-link:hover {
  gap: 0.75rem;
}

/* 数据统计 */
.custom-stats {
  padding: 4rem 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: #ffffff;
}

.custom-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.custom-stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(0deg 0% 0%);
  margin-bottom: 0.5rem;
}

.custom-stats-label {
  font-size: 0.985rem;
  color: #222222;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .custom-hero {
    min-height: auto;
  }
  
  .custom-hero-title {
    font-size: 2rem;
  }
  
  .custom-hero-desc {
    font-size: 1rem;
  }
  
  .custom-matrix-title,
  .custom-process-title,
  .custom-cta-title {
    font-size: 1.75rem;
  }
  
  .custom-process-footer {
    flex-direction: column;
    text-align: center;
  }
  
  .custom-stats-number {
    font-size: 2rem;
  }
}
