/* ==========================================================
   ThinkAIQ — Hero Achievements strip
   LIGHT theme. Two credibility cards + trust pills.
   Accent gradient: cyan -> purple.
   ========================================================== */

.ach-section {
  background: #f8fafc;
  position: relative;
}

.ach-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

.ach-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.08);
  color: #0891b2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ach-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

/* ---------- Cards ---------- */
.ach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ach-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
}

.ach-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ach-badge--green {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.ach-badge--cyan {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.ach-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
}

.ach-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 16px 0 0;
}

.ach-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 8px 0 0;
}

.ach-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ach-stat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ach-stat + .ach-stat {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-left: 16px;
}

.ach-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.ach-stat-label {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

.ach-link {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #06b6d4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ach-link:hover {
  color: #8b5cf6;
}

/* ---------- Trust pills ---------- */
.ach-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ach-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

/* ---------- Scroll reveal ---------- */
.ach-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ach-reveal.is-in {
  opacity: 1;
  transform: none;
}

.ach-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

/* ═══════════════════════════════════════════
   TABLET (≥ 768px)
═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .ach-title {
    font-size: 30px;
  }

  .ach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════
   DESKTOP (≥ 1024px)
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .ach-title {
    font-size: 34px;
  }
}

/* ═══════════════════════════════════════════
   SMALL (< 480px): stack stats
═══════════════════════════════════════════ */
@media (max-width: 479px) {
  .ach-stats {
    flex-direction: column;
    gap: 12px;
  }

  .ach-stat + .ach-stat {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
  }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ach-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ach-card:hover {
    transform: none;
  }
}
