/**
 * PCTechComVn — AI Section CSS
 * Child Theme CSS Module
 * Version: 1.0.0 (Sprint 8)
 *
 * AI Solution section: 2-col layout (features + visual card).
 */

/* ═══════════════════════════════════════════════
   1. AI SECTION WRAPPER
   ═══════════════════════════════════════════════ */
.ai-section {
  background: var(--green-light);
  padding: 80px 0;
}


/* ═══════════════════════════════════════════════
   2. AI GRID — 2 columns
   ═══════════════════════════════════════════════ */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}


/* ═══════════════════════════════════════════════
   3. AI FEATURES LIST
   ═══════════════════════════════════════════════ */
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-feat:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.ai-feat-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ai-feat h4 {
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.ai-feat p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════
   4. AI VISUAL CARD (Right side)
   ═══════════════════════════════════════════════ */
.ai-visual {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Optional glow effect behind robot */
.ai-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  z-index: 0;
  animation: pulse 4s infinite;
}

.ai-visual .robot {
  font-size: 5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

.ai-visual h3 {
  color: var(--green);
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.ai-visual p {
  color: var(--gray-700);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .ai-section {
    padding: 60px 0;
  }
  
  .ai-feat {
    padding: 16px;
  }
  
  .ai-visual {
    padding: 24px;
  }
}
