/* ============================================= */
/* AI AUTOMATION SECTION                          */
/* ============================================= */

.ai-section-intro {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 32px;
  /*max-width: 700px;*/
  margin-top: 1rem;
}

.ai-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-top: 1rem;
}

.ai-service-card {
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.ai-service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.ai-service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--light-gray);
  font-family: "Ubuntu", sans-serif;
}

.ai-service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 12px;
}

.ai-tech-tag {
  font-size: 0.8rem;
  opacity: 0.45;
  font-family: "Anonymous Pro", monospace;
}

.ai-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: space-around;
}

.ai-more-link {
  opacity: 0.6;
  /*font-size: 0.9rem;*/
}

.ai-more-link:hover {
  opacity: 1;
}

/* ---- Hero Stats ---- */

.greeting-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  overflow: visible;
}

.greeting-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.greeting-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  font-family: "Ubuntu", sans-serif;
}

.greeting-stat-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 4px;
}

/* ---- Hero CTA Row ---- */
.greeting-cta-row {
  display: flex !important;
  gap: 16px;
  flex-wrap: wrap;
}

.greeting-btn--primary {
  background: var(--green) !important;
  color: var(--dark-gray) !important;
  border-color: var(--green) !important;
}

.greeting-btn--primary:hover {
  background: #7fb56a !important;
  transform: translateY(-2px);
}

.greeting-btn--secondary {
  background: transparent !important;
  border: 1px solid var(--green) !important;
  color: var(--green) !important;
}

.greeting-btn--secondary:hover {
  background: rgba(152, 195, 121, 0.1) !important;
  transform: translateY(-2px);
}

/* ---- Project Details ---- */

.project-detail {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 6px;
  opacity: 0.85;
}

.project-detail strong {
  color: var(--green);
  font-size: 1.1rem;
}

.project-link--visible {
  display: inline-block !important;
}

/* ---- Projects intro ---- */

.projects-intro {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 8px;
  max-width: 700px;
}

.projects-stack-note {
  font-family: "Anonymous Pro", monospace;
  font-size: 0.85rem;
  opacity: 0.5;
}

.projects-nda-note {
  font-size: 0.85rem;
  opacity: 0.45;
  font-style: italic;
  margin-bottom: 40px;
}

@media (max-width: 660px) {
  .ai-services-grid {
    grid-template-columns: 1fr;
  }

  .greeting-stats {
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
  }

  .greeting-cta-row {
    flex-direction: column;
  }

  .greeting-btn {
    text-align: center;
  }
}