/* ========================================================================= */
/* HARSHGURUJI AI HUB - UNDER CONSTRUCTION EXPERIENCE                       */
/* High-Tech Cyber Glassmorphism & Animated Diagnostics                      */
/* ========================================================================= */

.ai-construction-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.08) 35%, rgba(10, 14, 26, 0.95) 75%), #070913;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Cyber Grid & Orbs */
.ai-cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.ai-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  animation: aiOrbFloat 8s ease-in-out infinite alternate;
}
.ai-glow-1 {
  width: 380px;
  height: 380px;
  background: #6366f1;
  top: 10%;
  left: 15%;
}
.ai-glow-2 {
  width: 420px;
  height: 420px;
  background: #ec4899;
  bottom: 15%;
  right: 15%;
  animation-delay: -4s;
}

@keyframes aiOrbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.1); }
}

/* Main Construction Card */
.ai-construction-card {
  position: relative;
  z-index: 10;
  max-width: 780px;
  width: 100%;
  background: rgba(15, 20, 36, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(99, 102, 241, 0.25);
  text-align: center;
  transition: transform 0.3s ease;
}

/* Status Badge */
.ai-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}
.ai-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: aiPulse 1.8s infinite;
}
@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

/* Hologram Visual */
.ai-avatar-container {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(99, 102, 241, 0.5);
  animation: aiRotate 14s linear infinite;
}
.ai-avatar-ring-2 {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(236, 72, 153, 0.3);
  animation: aiRotateReverse 20s linear infinite;
}
.ai-avatar-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.4);
  animation: aiBob 3.5s ease-in-out infinite alternate;
}

@keyframes aiRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes aiRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes aiBob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* Typography */
.ai-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-subtitle-en {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 0.6rem;
}

.ai-subtitle-hi {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 2.2rem;
}

/* Progress & Diagnostics Section */
.ai-diagnostics-box {
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.2rem;
  text-align: left;
}

.ai-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
}
.ai-progress-header span:last-child {
  color: #38bdf8;
  font-family: 'Space Grotesk', monospace;
  font-size: 1rem;
}

.ai-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.4rem;
}
.ai-progress-bar {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #38bdf8, #ec4899);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  animation: aiProgressShine 2.5s linear infinite;
}

@keyframes aiProgressShine {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

.ai-diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.ai-diag-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ai-diag-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-diag-info strong {
  display: block;
  font-size: 0.85rem;
  color: #f8fafc;
  margin-bottom: 2px;
}
.ai-diag-info span {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Action Buttons */
.ai-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ai-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
}
.ai-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(99, 102, 241, 0.6);
}

.ai-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.ai-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .ai-construction-card {
    padding: 2rem 1.25rem;
  }
  .ai-actions {
    flex-direction: column;
    width: 100%;
  }
  .ai-btn-primary, .ai-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
