/* Hero Compact Style */
.hp-hero.hp-hero-compact {
  padding: 40px 0 30px !important;
  min-height: auto !important;
}

.hp-hero.hp-hero-compact .hp-hero-content {
  padding: 0 !important;
}

.hp-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px 0;
  text-align: center;
  background: linear-gradient(135deg, #3B82F6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero.hp-hero-compact .hp-hero-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 24px 0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hp-hero.hp-hero-compact .hp-hero-stats {
  justify-content: center;
  gap: 40px;
  margin-bottom: 0;
}

.hp-hero.hp-hero-compact .hp-stat-num {
  font-size: 28px;
}

.hp-hero.hp-hero-compact .hp-stat-label {
  font-size: 13px;
}

/* Mobile Hero Compact */
@media (max-width: 768px) {
  .hp-hero.hp-hero-compact {
    padding: 24px 16px 20px !important;
  }
  
  .hp-hero-title {
    font-size: 28px;
    margin-bottom: 8px;
  }
  
  .hp-hero.hp-hero-compact .hp-hero-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  
  .hp-hero.hp-hero-compact .hp-hero-stats {
    gap: 20px;
  }
  
  .hp-hero.hp-hero-compact .hp-stat-num {
    font-size: 22px;
  }
  
  .hp-hero.hp-hero-compact .hp-stat-label {
    font-size: 11px;
  }
}

/* AI Products Highlight Section */
.hp-ai-highlight {
  padding: 60px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.hp-ai-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(232, 93, 58, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hp-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hp-ai-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.hp-ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.hp-ai-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hp-ai-card:hover::before {
  opacity: 1;
}

/* API Card Specific */
.hp-ai-api {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.hp-ai-api:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
}

.hp-ai-api .hp-ai-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.hp-ai-api .hp-ai-action {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* OpenClaw Card Specific */
.hp-ai-openclaw {
  background: linear-gradient(135deg, rgba(232, 93, 58, 0.1) 0%, rgba(232, 93, 58, 0.05) 100%);
  border-color: rgba(232, 93, 58, 0.3);
}

.hp-ai-openclaw:hover {
  border-color: rgba(232, 93, 58, 0.5);
  box-shadow: 0 20px 60px rgba(232, 93, 58, 0.2);
}

.hp-ai-openclaw .hp-ai-icon {
  background: linear-gradient(135deg, #e85d3a, #ff7b5a);
}

.hp-ai-openclaw .hp-ai-action {
  background: linear-gradient(135deg, #e85d3a, #c44d2e);
}

/* Badge */
.hp-ai-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hp-ai-badge-new {
  background: linear-gradient(135deg, #e85d3a, #ff7b5a);
}

/* Icon */
.hp-ai-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Title */
.hp-ai-card h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

/* Description */
.hp-ai-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

/* Features */
.hp-ai-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hp-ai-features span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

/* Stats */
.hp-ai-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.hp-ai-stat {
  text-align: center;
}

.hp-ai-stat strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hp-ai-stat span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Action Button */
.hp-ai-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s;
}

.hp-ai-card:hover .hp-ai-action {
  transform: scale(1.05);
}

.hp-ai-arrow {
  transition: transform 0.3s;
}

.hp-ai-card:hover .hp-ai-arrow {
  transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hp-ai-highlight {
    padding: 40px 0;
  }
  
  .hp-ai-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .hp-ai-card {
    padding: 24px;
  }
  
  .hp-ai-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 14px;
  }
  
  .hp-ai-card h3 {
    font-size: 22px;
  }
  
  .hp-ai-desc {
    font-size: 14px;
  }
  
  .hp-ai-features {
    gap: 6px;
  }
  
  .hp-ai-features span {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .hp-ai-stats {
    gap: 12px;
    padding: 16px 0;
  }
  
  .hp-ai-stat strong {
    font-size: 16px;
  }
  
  .hp-ai-action {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}
